An Entity of Type: software, from Named Graph: http://dbpedia.org, within Data Space: dbpedia.org

Special member functions in C++ are functions which the compiler will automatically generate if they are used, but not declared explicitly by the programmer.The automatically generated special member functions are: In these cases the compiler generated versions of these functions perform a memberwise operation. For example, the compiler generated destructor will destroy each sub-object (base class or member) of the object.

Property Value
dbo:abstract
  • Special member functions in C++ are functions which the compiler will automatically generate if they are used, but not declared explicitly by the programmer.The automatically generated special member functions are: * Default constructor if no other constructor is explicitly declared. * Copy constructor if no move constructor and move assignment operator are explicitly declared.If a destructor is declared generation of a copy constructor is deprecated (C++11, proposal N3242). * Move constructor if no copy constructor, copy assignment operator, move assignment operator and destructor are explicitly declared. * Copy assignment operator if no move constructor and move assignment operator are explicitly declared.If a destructor is declared, generation of a copy assignment operator is deprecated. * Move assignment operator if no copy constructor, copy assignment operator, move constructor and destructor are explicitly declared. * Destructor In these cases the compiler generated versions of these functions perform a memberwise operation. For example, the compiler generated destructor will destroy each sub-object (base class or member) of the object. The compiler generated functions will be public, non-virtual and the copy constructor and assignment operators will receive const& parameters (and not be of the alternative legal forms). (en)
dbo:wikiPageID
  • 10321476 (xsd:integer)
dbo:wikiPageLength
  • 4844 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID
  • 1098747758 (xsd:integer)
dbo:wikiPageWikiLink
dbp:wikiPageUsesTemplate
dcterms:subject
gold:hypernym
rdf:type
rdfs:comment
  • Special member functions in C++ are functions which the compiler will automatically generate if they are used, but not declared explicitly by the programmer.The automatically generated special member functions are: In these cases the compiler generated versions of these functions perform a memberwise operation. For example, the compiler generated destructor will destroy each sub-object (base class or member) of the object. (en)
rdfs:label
  • Special member functions (en)
owl:sameAs
prov:wasDerivedFrom
foaf:isPrimaryTopicOf
is dbo:wikiPageWikiLink of
is foaf:primaryTopic of
Powered by OpenLink Virtuoso    This material is Open Knowledge     W3C Semantic Web Technology     This material is Open Knowledge    Valid XHTML + RDFa
This content was extracted from Wikipedia and is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License