Re:The initial proposal for a C++ Ecosystem International St...
by account42 on Wednesday October 19, 2022 @06:51AM
(#33260218)
> std::vector has 10 constructors, they can't have different names
Except you can have static member functions (calling private constructors) if you do want that. Of course that doesn't compose as well as overloaded constructors which e.g. lets all constructors for a type T be accessed via std::vector<T>::emplace_back().
Except you can have static member functions (calling private constructors) if you do want that. Of course that doesn't compose as well as overloaded constructors which e.g. lets all constructors for a type T be accessed via std::vector<T>::emplace_back().