Statements (23)
Predicate | Object |
---|---|
gptkbp:instance_of |
gptkb:language
|
gptkbp:calls_for |
when an object is passed by value
|
gptkbp:can_be |
by the compiler if no user-defined copy constructor exists
|
gptkbp:defines |
by the user
the class definition using the '&&' rvalue reference syntax |
gptkbp:features |
modern C++ programming
|
https://www.w3.org/2000/01/rdf-schema#label |
Move Constructor
|
gptkbp:improves |
performance by eliminating unnecessary copies
|
gptkbp:is_known_for |
when an object is initialized with an rvalue
|
gptkbp:is_often_associated_with |
a destructor
|
gptkbp:is_part_of |
gptkb:C++11_standard
|
gptkbp:is_related_to |
gptkb:Move_Assignment_Operator
|
gptkbp:is_used_in |
gptkb:std::vector
gptkb:std::unique_ptr std::string classes that manage dynamic resources |
gptkbp:purpose |
to transfer resources from one object to another
|
gptkbp:replaced_by |
to prevent moving of an object
|
gptkbp:throws |
exceptions if resource allocation fails
|
gptkbp:type_of |
gptkb:language
|
gptkbp:bfsParent |
gptkb:std::vector
|
gptkbp:bfsLayer |
4
|