inline global constants

This commit is contained in:
Marius Bancila 2020-09-09 23:50:37 +03:00 committed by GitHub
parent 921f01fbea
commit 987edad167
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 */;
}
```