concept default_initializable = std::constructible_from<T> && requires { T{}; } &&
The default_initializable
concept checks whether variables of type T
can be
Access checking is performed as if in a context unrelated to T. Only the validity of the immediate context of the variable initialization is considered.
[edit] Possible implementation [edit] Referencesdefault_initializable
[concept.default.init]default_initializable
[concept.default.init]RetroSearch 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