struct allocator_arg_t { explicit allocator_arg_t() = default; };
(1) (since C++11) (2) (since C++11)std::allocator_arg
is an instance of
(1)that can be passed to the constructors and member functions of such permitted types.
[edit] Defect reportsThe following behavior-changing defect reports were applied retroactively to previously published C++ standards.
DR Applied to Behavior as published Correct behavior LWG 2510 C++11 the default constructor was non-explicit, which could lead to ambiguity made explicit [edit] See also checks if the specified type supports uses-allocator constructionRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4