We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
constructor de copia
copy constructor
The copy constructor and destructor must not throw exceptions.
Making a class inherently non-copyable, for example, requires declaring a private copy constructor and copy assignment operator and not defining them.
Hacer una clase intrínsecamente no copiable, por ejemplo, requiere la declaración de un constructor de copia y de un operador de asignación privados y la no definición de ellos.
The copy constructor is a constructor which creates an object by initializing it with an object of the same class.
Por definición, el constructor de copia tiene un único argumento que es una referencia constante a un objeto de la clase.
If you need to make your class non-copyable, the typical way is to make the copy constructor and the assignment operator of the class private or protected.
Si necesita hacer su clase no copiable, la forma típica es hacer el constructor de copia y el operador de asignación de la clase privados o protegidos.
In C++03, the compiler provides, for classes that do not provide them for themselves, a default constructor, a copy constructor, a copy assignment operator (operator=), and a destructor.
En C++03, el compilador proporciona, para las clases que no lo proporcionan por sí mismas, un constructor por defecto (default), un constructor de copia, un operador de asignación de copia (operator=), y un destructor.
FIX: The compiler does not call an overridden copy constructor in Visual C++ .NET 2003841772
REVISIÓN: El compilador no llama a un constructor de copia reemplazado en Visual C++ .NET 2003841772
Copy constructor. Returns a copy of the cursor other.
Constructor de copia. Devuelve una copia del cursor otro.
The copy constructor for a type with any constexpr constructors should usually also be defined as a constexpr constructor, to allow objects of the type to be returned by value from a constexpr function.
Para copiar tipos construidos constexpr también deben ser definidos como constexpr, para permitir que retornen por valor desde una función constexpr.
Where necessary, the compiler may implicitly define the default constructor, copy constructor, move constructor, copy assignment operator, move assignment operator, and the destructor.
Cuando es necesario, el compilador puede definir implícitamente el constructor por defecto, constructor copia, constructor de movimiento, operador de asignación de copia, operador de asignación de movimiento, y el destructor.
Copy assignment operator can be expressed in terms of copy constructor, destructor, and the swap() member function, if one is provided
Operador de asignación de copia se puede expresar en términos de constructor de copia, destructor, y el intercambio () función miembro, si se proporciona
C++ (since C++11) also allows for a data member to be any type that has a full-fledged constructor/destructor and/or copy constructor, or a non-trivial copy assignment operator.
Por otra parte, C++ no permite a un elemento ser de cualquier tipo que tenga un full fledged constructor/destructor y/o copy constructor, o una copia no-trivial del operador de asignación.
boost::swap can invoke a function with signature swap(T&, T&) if the same exists instead of the default one copy constructor plus two assignments option.
boost::swap puede invocar una función con firma swap(T&, T&) si la misma existe en lugar de la predeterminada copy constructor más dos opciones de asignación.
FIX: The "catch by" reference does not work with the copy constructor that is defined in your Visual C++ .NET 2003 application
REVISIÓN: La referencia "catch por" no funciona con el constructor de copias que se define en la aplicación de Visual C++ .NET 2003
Potentieel gevoelige of ongepaste informatie
Er worden alleen voorbeelden gegeven om u te helpen het woord of de woordcombinatie waarop u hebt gezocht, te vertalen. Deze worden niet door ons geselecteerd of gevalideerd en kunnen ongepaste taal bevatten. Wij vragen u melding te maken van voorbeelden die dienen te worden aangepast of verwijderd. Vertalingen met grof of informeel taalgebruik worden meestal rood of oranje gemarkeerd.