Commit Graph

34 Commits

Author SHA1 Message Date
Riccardo Corsi
904224fbfc Stream << operator: restore original flags after streaming the uuid 2020-09-09 15:42:02 +02:00
Marius Bancila
7bd86a11e3 test time gen only on Windows 2019-05-17 15:55:43 +03:00
Marius Bancila
b74a5eb7e9 - updates after Kona
- new constructors
- namespace constants for name-based uuids
2019-05-17 12:33:35 +03:00
Marius Bancila
e0a781d245 uuid is class
noexcept on several functions
2019-02-20 01:25:17 +02:00
Marius Bancila
8a056e7436 trivial implementation for time-based uuid generator 2019-01-09 16:04:49 +02:00
Marius Bancila
7a0f71cb10 const references and function templates 2019-01-09 11:25:14 +02:00
Marius Bancila
bc37fa250b revision based on LEWGI feedback from San Diego 2019-01-08 16:46:19 +02:00
Michał Janiszewski
257fec44b6 Drop constexpr from uuid::as_bytes() due to reinterpret_cast 2018-08-05 00:26:59 +02:00
Michał Janiszewski
99d1fade3a Explicitly initialise member fields, as required by constexpr 2018-08-05 00:23:08 +02:00
Michał Janiszewski
adb24b3d9d Ensure structs get defined in correct order
uuid_version tried to use (yet) unknown uuid_error. Reorder their
definitions to address this issue.
2018-08-05 00:01:20 +02:00
Michał Janiszewski
2e07420571 Add missing include for memcmp
memcmp is defined in cstring, yet it wasn't included in the files that
tried using it.
2018-08-05 00:00:26 +02:00
Marius Bancila
ca9f84418c using instead of typedef 2018-06-29 10:33:08 +03:00
Marius Bancila
a296a1359f from_string is static member of uuid 2018-06-29 09:38:26 +03:00
Marius Bancila
f93f0cda5a removed non-const as_bytes 2018-06-29 09:34:09 +03:00
Marius Bancila
6e8f536a4a constexpr added 2018-06-29 09:33:38 +03:00
Marius Bancila
54b54bdab5 revision 1 based on standard committe and community feedback 2018-06-27 11:27:00 +03:00
Marius Bancila
4e27a1e02a added GSL for span implementation 2018-06-27 11:26:35 +03:00
Marius Bancila
13c6d59115 to_string() is inline
warnigns fixed
use catch testing framework
2018-05-15 09:41:49 +03:00
Marius Bancila
e1f1a1e59e renamed nil() to is_nil() 2018-05-14 16:42:38 +03:00
Marius Bancila
8761a7ed7e uuid_default_system -> uuid_system_generator 2018-01-31 09:05:04 +02:00
Marius Bancila
ea43f4b9ba sha1 name generator 2018-01-17 12:17:31 +02:00
Marius Bancila
9b1ef4f116 constructors implementation 2018-01-16 16:35:48 +02:00
Marius Bancila
0a16c0c079 uuid iterators 2018-01-15 17:20:14 +02:00
Marius Bancila
042f8aeb82 remove uuid.cpp 2018-01-15 16:32:29 +02:00
Marius Bancila
998051d922 string conversion as free functions 2018-01-15 16:30:13 +02:00
Marius Bancila
4ba249e947 make_uuid replaced with uuid_default_generator 2018-01-15 10:40:19 +02:00
Marius Bancila
8353b03ebc std::byte replaced with uint_8 2018-01-15 10:29:32 +02:00
Marius Bancila
ba56824f4c future renamed to reserved 2017-12-20 08:39:20 +02:00
Marius Bancila
e7186f0092 std::byte instead of uint_8, constructors 2017-12-19 11:53:42 +02:00
mariusbancila
9792260b00
use braces for array init 2017-12-18 23:32:38 +02:00
Marius Bancila
0f201b195c more tests 2017-12-18 16:13:04 +02:00
Marius Bancila
989e5dd661 nil instead of is_nil 2017-12-18 14:23:52 +02:00
Marius Bancila
0193b64fd5 operator<, uuids_version, new tests 2017-12-09 23:56:40 +02:00
Marius Bancila
7c14506085 cmake project 2017-12-09 01:03:06 +02:00