Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in explicit-constructor

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

Inheritance and explicit constructors?

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

Why is my explicit constructor creating this ambiguity for my conversion operator?

c++ copy initialization & direct initialization, the weird case

When is a c++ constructor not called?

This is not copy-initializing, or is it?

Why is the constructor of std::in_place_t defaulted and explicit?

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

explicit non-single parameter constructor

C++11 initializer_list constructor marked "explicit"

Can I overload an implicit initialization to 0?

Implicit conversion from int to vector?

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

Is removing 'explicit' from a constructor binary compatible?

Why is the constructor in this C++ code ambiguous and how do I fix it?

Inheriting an explicit constructor (Intel C++)

Explicit on N-ary constructors?