Showing content from https://sgistl.github.io/DefaultConstructible.html below:
Default Constructible
Default Constructible Description A type is DefaultConstructible if it has a default constructor, that is, if it is possible to construct an object of that type without initializing the object to any particular value. Refinement of Associated types Notation X A type that is a model of DefaultConstructible x An object of type X Definitions Valid expressions Name Expression Type requirements Return type Default constructor X() X Default constructor X x; [1] Expression semantics Name Expression Precondition Semantics Postcondition Default constructor X() Default constructor X x; Complexity guarantees Models
Notes
[1] The form X x = X() is not guaranteed to be a valid expression, because it uses a copy constructor. A type that is DefaultConstructible is not necessarily Assignable
See alsoAssignable STL Main Page
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