inline global constants
This commit is contained in:
parent
921f01fbea
commit
987edad167
9
P0959.md
9
P0959.md
@ -110,6 +110,7 @@ Based on this feedback and further considerations, the following changes have be
|
||||
* Added `uuid` constructors from arrays.
|
||||
* Added implementation-specific constant uuids that can be used for generating name-based uuids.
|
||||
* Added a new section (Open discussion) in this document to address questions/concerns from the committee.
|
||||
* The global constants in the namespace `std` for generating name-based uuids are defined `inline`
|
||||
|
||||
## II. Motivation
|
||||
|
||||
@ -549,10 +550,10 @@ namespace std {
|
||||
The following implementation-specific constant uuid values can be used for generating name-based uuids.
|
||||
```cpp
|
||||
namespace std {
|
||||
constexpr uuid uuid_namespace_dns = /* implementation-specific */;
|
||||
constexpr uuid uuid_namespace_url = /* implementation-specific */;
|
||||
constexpr uuid uuid_namespace_oid = /* implementation-specific */;
|
||||
constexpr uuid uuid_namespace_x500 = /* implementation-specific */;
|
||||
inline constexpr uuid uuid_namespace_dns = /* implementation-specific */;
|
||||
inline constexpr uuid uuid_namespace_url = /* implementation-specific */;
|
||||
inline constexpr uuid uuid_namespace_oid = /* implementation-specific */;
|
||||
inline constexpr uuid uuid_namespace_x500 = /* implementation-specific */;
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user