Search code examples
Deleting copy constructors and copy assignment operators. Which of them are essential?...


c++copy-constructorcopy-assignmentdeleted-functionsimplicit-methods

Read More
error: use of deleted function...


c++gccg++c++11deleted-functions

Read More
Example of "implicit ODR-use of a non-pure virtual member function that happens to be deleted&q...


c++language-lawyervirtual-functionsone-definition-ruledeleted-functions

Read More
Default move constructor/assignment and deleted copy constructor/assignment...


c++move-semanticsdeleted-functions

Read More
Effect of user deleted auto constructors on implicit generation of copy constructors...


c++copy-constructorcopy-assignmentdeleted-functions

Read More
Are there any use cases for a class which is copyable but not movable?...


c++c++11copy-constructormove-semanticsdeleted-functions

Read More
Deriving from a class with a deleted destructor?...


c++copyc++20destructordeleted-functions

Read More
Force compiler to emit error on move constructor not defined with a base class deleted copy ctor...


c++c++11inheritancedeleted-functions

Read More
C2280 error attempint to reference a deleted function...


c++movedeleted-functions

Read More
Forbids functions with `static_assert`...


c++c++11compile-timestatic-assertdeleted-functions

Read More
Initializing unique_ptr causes an "error: use of deleted function" even though it's &q...


c++c++11unique-ptrstdmovedeleted-functions

Read More
Does the return type of a deleted operator matter if the operator is deleted?...


c++classoperator-overloadingdeleted-functions

Read More
Deleted function error after using random lib in struct...


c++randomstructstddeleted-functions

Read More
Can one delete a function returning an incomplete type in C++?...


c++language-lawyerincomplete-typedeleted-functions

Read More
Explicit instantiation of a deleted function template in C++...


c++templateslanguage-lawyerexplicit-instantiationdeleted-functions

Read More
Compiler error on call to recursive function - "attempting to reference a deleted function&quot...


c++deleted-functions

Read More
Error: Use of deleted function std::unique_ptr...


c++unique-ptrdeleted-functions

Read More
Deleted copy constructor results in deleted default constructor...


c++c++11deleted-functions

Read More
Would a derived class ever have an implicit copy constructor or assignment operator when it's de...


c++copy-constructorderived-classcopy-assignmentdeleted-functions

Read More
Add class containing a circular buffer to Vector...


c++vectorcircular-bufferdeleted-functions

Read More
Attempting to reference Deleted function shared_ptr...


c++deleted-functions

Read More
How do I assign an object containing an unique_ptr to a vector of its type when a move assignment op...


c++visual-studio-2019move-semanticsassignment-operatordeleted-functions

Read More
error C2280: attempting to reference a deleted function (trying to call vector.erase)...


c++vectorcompiler-errorsdeleted-functions

Read More
How to forbid empty list initialization?...


c++11c++14default-constructorlist-initializationdeleted-functions

Read More
std::map: Creating/replacing an element when it is not default-constructible...


c++stdstdmapdeleted-functions

Read More
Why does copy-and-swap in a base class cause the copy-assignment operator to be implicitly deleted i...


c++c++17deleted-functionscopy-and-swapdefaulted-functions

Read More
Trying to locate a deleted function...


c++deleted-functions

Read More
Equal operator attempting to reference a deleted function, array...


c++arrayssfmldeleted-functions

Read More
Inheritance of =delete functions...


c++c++11inheritanceconstructordeleted-functions

Read More
Resolving a compiler error due to an invariant member with a possible deleted default constructor...


c++visual-studio-2017c++17unionsdeleted-functions

Read More
BackNext