Search code examples
C++ 'no matching function for call to' and 'no known conversion for argument'...


c++explicit-conversionexplicit-constructorclass-constructors

Read More
Not getting the expected behavior with "explicit" keyword in c++...


c++explicit-constructor

Read More
Why is the std::bitset constructor with an unsigned long long argument not marked as explicit?...


c++implicit-conversionbitsetunsigned-long-long-intexplicit-constructor

Read More
C++11: in-class initializaton with "= {}" doesn't work with explicit constructor...


c++c++11initializer-listexplicit-constructorin-class-initialization

Read More
C++ - why does this code compile when there's no obvious constructor match?...


c++constructornew-operatorexplicit-constructor

Read More
This is not copy-initializing, or is it?...


c++c++11explicit-constructorcopy-initialization

Read More
Can I overload an implicit initialization to 0?...


c++constructorinitializerexplicit-constructor

Read More
C++11 initializer_list constructor marked "explicit"...


c++c++11initializer-listexplicit-constructor

Read More
Explicit on N-ary constructors?...


c++constructorc++11explicit-constructor

Read More
How to set up explicit value constructor with linked list?...


c++linked-listexplicit-constructor

Read More
Implicit constructor available for all types derived from Base excepted the current type?...


c++c++11implicit-conversionenable-ifexplicit-constructor

Read More
Inheritance and explicit constructors?...


c++constructorc++11explicit-constructor

Read More
"More than one operator + matches these operands" error...


c++operator-overloadingtype-conversionimplicit-conversionexplicit-constructor

Read More
Difference in object construction using "X x(42)" and "X x = 42"?...


c++constructorexplicit-constructor

Read More
C++ -- Why should we use explicit in this constructor?...


c++explicit-constructor

Read More
Why does this explicit destructor cause memory corruption in a shared ptr?...


c++destructorvalgrindshared-ptrexplicit-constructor

Read More
Destructor of a class implicitly defined...


c++constructordestructorexplicit-constructor

Read More
C++ Constructor for Implicit Type Conversion...


c++visual-studiotype-conversionexplicit-constructor

Read More
Is there any downside to marking all C++ constructors explicit?...


c++performanceexplicit-constructor

Read More
placement new VS explicit constructor call in C++...


c++placement-newexplicit-constructor

Read More
c++ inheritance question...


c++inheritanceexplicit-constructorrule-of-three

Read More
c++ copy initialization & direct initialization, the weird case...


c++constructorcopy-constructorexplicit-constructor

Read More
Does specifying a method/constructor explicit mean that it can't be called implicitly?...


c++methodsexplicitexplicit-constructor

Read More
What's the difference between explicit and implicit assignment in C++...


c++explicit-constructor

Read More
Can a single argument constructor with a default value be subject to implicit type conversion...


c++type-conversiondefault-valueexplicitexplicit-constructor

Read More
If I use explicit constructor, do I need to put the keyword in both .h and .cpp files?...


c++explicit-constructor

Read More
BackNext