Unlike a C-style array, it doesn't decay to T* automatically.
A diferencia de un array estilo C, no decae a T* automáticamente.
The struct combines the performance and accessibility of a C-style array with the benefits of a standard container, such as knowing its own size, supporting assignment, random access iterators, etc.
La estructura combina el rendimiento y la accesibilidad de un array estilo C con los beneficios de un contenedor estándar, tales como el conocimiento de su propio tamaño, soportando asignación, iteradores de acceso aleatorio, etc.
To illustrate the issue, consider that an std::vector<T> is, internally, a wrapper around a C-style array with a defined size.
Para ilustrar el problema, considere que un std::vector<T> es, internamente, una envoltura (wrapper) alrededor de una tabla (array) de estilo C con un tamaño.
To illustrate the issue, consider that a std::vector<T> is, internally, a wrapper around a C-style array with a size.
Para ilustrar el problema, considere que un std::vector<T> es, internamente, una envoltura (wrapper) alrededor de una tabla (array) de estilo C con un tamaño.
Alte rezultate
It will work for C-style arrays, initializer lists, and any type that has begin() and end() functions defined for it that return iterators.
Trabajará para los arreglos de estilo C, inicializadores de listas, y cualquier tipo que tenga definida una función begin() y end() que retorne iteradores.
If the objects are not trivially-copyable (scalars, arrays, C-style structs), the behavior is undefined.
Si los objetos no son trivialmente-copiable (escalares, arrays estilo C-estructuras), el comportamiento no está definido.
It will work for C-style arrays, initializer lists, and any type that has begin() and end() functions defined for it that return iterators.
Trabajará para los arreglos de estilo C, inicializadores de listas, y cualquier tipo que tenga definida una función begin() y end() que retorne iteradores.
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.
Nici un rezultat pentru acest sens.
Sinonime și analogii pentru "C-style array" în limba Română