Peter Dimov
|
415d389c59
|
Disable constexpr for GCC 5 in string_generator
|
2025-09-01 02:41:03 +03:00 |
|
Peter Dimov
|
95fae5e7a8
|
Simplify helper members of string_generator
|
2025-09-01 02:33:57 +03:00 |
|
Peter Dimov
|
0a06e39092
|
Reorder member function definitions of string_generator to work around https://github.com/llvm/llvm-project/issues/156255
|
2025-08-31 22:01:50 +03:00 |
|
Peter Dimov
|
0f87380f0d
|
Fix declarations of begin() and end()
|
2025-08-31 22:01:50 +03:00 |
|
Peter Dimov
|
21f46e88ab
|
Replace use of std::char_traits (only constexpr in C++17) with hand-written constexpr functions
|
2025-08-31 22:01:50 +03:00 |
|
Peter Dimov
|
ea59238de1
|
Add BOOST_CXX14_CONSTEXPR to string_generator.hpp
|
2025-08-31 22:01:50 +03:00 |
|
Peter Dimov
|
1c2cc1fae2
|
Revert "Add RFC-9562 compliant Max UUID (section 5.10)"
This reverts commit bf16d95746.
|
2025-08-16 20:18:51 +03:00 |
|
James E. King III
|
bf16d95746
|
Add RFC-9562 compliant Max UUID (section 5.10)
|
2025-08-09 14:28:05 -04:00 |
|
Peter Dimov
|
95855404d2
|
Use the RNG output directly in basic_random_generator when its results are uniform uint32_t or uint64_t. Fixes #174.
|
2025-06-28 19:39:43 +03:00 |
|
Peter Dimov
|
400d1f67f8
|
Update MSVC workaround to 1950
|
2024-09-22 22:20:13 +03:00 |
|
Peter Dimov
|
d90e14f1dd
|
Mark uuid constructors noexcept
|
2024-09-22 21:22:36 +03:00 |
|
Peter Dimov
|
208c2d012a
|
Make uuid constructor constexpr when __builtin_is_constant_evaluated is not available
|
2024-09-22 21:17:33 +03:00 |
|
Peter Dimov
|
7407a98684
|
Make uuid constructor constexpr when __builtin_is_constant_evaluated is available. Refs #161.
|
2024-09-22 20:36:43 +03:00 |
|
Peter Dimov
|
1a866fbc1b
|
Avoid -Wmissing-field-initializers under GCC 4.x
|
2024-08-24 02:28:35 +03:00 |
|
Braden Ganetsky
|
750d48cf8b
|
Fix missing-field-initializers error in GCC 4.8 and 4.9
|
2024-08-22 13:37:45 -05:00 |
|
Braden Ganetsky
|
7909c545d5
|
Fix more sign conversion errors
|
2024-08-19 08:30:51 -05:00 |
|
Braden Ganetsky
|
3ff6317e39
|
Fix sign conversion error
|
2024-08-17 17:12:40 -05:00 |
|
Peter Dimov
|
289b721709
|
Refactor operator>>
|
2024-06-13 04:02:16 +03:00 |
|
Peter Dimov
|
cbcbacc1b8
|
Remove align_u128_ because __uint128_t is overaligned
|
2024-06-10 19:09:53 +03:00 |
|
Peter Dimov
|
a6117a422c
|
Work around msvc-14.0 issue
|
2024-06-09 22:39:08 +03:00 |
|
Peter Dimov
|
c2bc3b3808
|
Align uuid as uint64_t/__uint128_t
|
2024-06-09 20:10:10 +03:00 |
|
Peter Dimov
|
f3100d7d80
|
Update documentation
|
2024-05-17 04:59:29 +03:00 |
|
Peter Dimov
|
3c267e6199
|
Work around msvc-14.[012] failures
|
2024-05-16 18:58:38 +03:00 |
|
Peter Dimov
|
48c2163fae
|
Update uuid_x86.ipp
|
2024-05-16 05:19:30 +03:00 |
|
Peter Dimov
|
2bbe9eaec9
|
Change data from uint8_t[16] to a type with operator() s.t. data() can work
|
2024-05-16 05:16:43 +03:00 |
|
Peter Dimov
|
a85c3cb803
|
Add constructors, because uuid is not an aggregate anymore under C++11
|
2024-05-15 21:43:19 +03:00 |
|
Peter Dimov
|
7f41e4aba1
|
Zero-initialize uuid::data
|
2024-05-15 21:07:41 +03:00 |
|
Andrey Semashev
|
1d259d8591
|
Add missing includes.
The includes are added for the std::chrono and std::memcpy that are
explicitly mentioned in uuid.hpp.
|
2024-05-14 21:40:26 +03:00 |
|
Peter Dimov
|
d240d0a74b
|
In name generators, process Unicode characters as UTF-8. Update test_name_generator_md5, test_name_generator_sha1.
|
2024-05-05 22:12:03 +03:00 |
|
Peter Dimov
|
436a85cd88
|
Accept Ch[36] in to_chars because these uses did compile
|
2024-05-04 19:38:42 +03:00 |
|
Peter Dimov
|
57434ad09a
|
Mark the char[36] overload of to_chars as deprecated
|
2024-05-04 19:17:42 +03:00 |
|
Peter Dimov
|
0967b94172
|
Add an overload of to_chars taking Ch(&)[N]
|
2024-05-04 18:55:04 +03:00 |
|
Peter Dimov
|
84147138b4
|
Mark time_generator_v7::operator= as noexcept
|
2024-05-04 18:39:51 +03:00 |
|
Peter Dimov
|
2480bedcea
|
Add charN_t support to to_chars
|
2024-05-04 18:19:07 +03:00 |
|
Peter Dimov
|
f7b32f8438
|
Add copy/move constructors/assignment operators to time_generator_v7
|
2024-05-04 13:56:27 +03:00 |
|
Peter Dimov
|
64d070bf95
|
Improve uuid_clock::from_sys, to_sys
|
2024-05-04 05:04:12 +03:00 |
|
Peter Dimov
|
cc9b2f101a
|
Consistently replace typedef with using
|
2024-05-03 20:15:28 +03:00 |
|
Peter Dimov
|
ea6bed60cd
|
Add time_generator.hpp
|
2024-05-03 17:16:35 +03:00 |
|
Peter Dimov
|
c52d7c34b7
|
Cosmetic changes
|
2024-05-03 17:11:52 +03:00 |
|
Peter Dimov
|
b599b0dc63
|
Make time_generator_v7 produce monotonic results even if the resolution of the system clock is 1 ms
|
2024-05-02 21:24:31 +03:00 |
|
Peter Dimov
|
c17dcf0334
|
Add time_generator_v7
|
2024-05-02 20:57:50 +03:00 |
|
Peter Dimov
|
4a4a372271
|
Add v7 and v8 to uuid::version_type
|
2024-05-01 20:46:02 +03:00 |
|
Peter Dimov
|
b414e9e68e
|
Add time_generator_v6
|
2024-05-01 20:39:04 +03:00 |
|
Peter Dimov
|
aaa8445851
|
Move detail::to_chars to detail/to_chars.hpp
|
2024-05-01 18:12:41 +03:00 |
|
Peter Dimov
|
835a65821e
|
Update documentation
|
2024-05-01 17:14:05 +03:00 |
|
Peter Dimov
|
2e04f05eda
|
Remove uses of BOOST_NO_STD_WSTRING
|
2024-05-01 01:03:06 +03:00 |
|
Peter Dimov
|
dab6e96b76
|
Reformat and refactor uuid_io.hpp
|
2024-05-01 00:30:11 +03:00 |
|
Peter Dimov
|
731afe80bc
|
Update documentation
|
2024-04-30 20:58:03 +03:00 |
|
Peter Dimov
|
712556a06c
|
Improve what() strings of the runtime_error exceptions thrown by string_generator. Refs #146.
|
2024-04-30 01:20:18 +03:00 |
|
Peter Dimov
|
aeaf1ba375
|
Change name_generator_sha1 and name_generator_md5 from typedefs to classes to match documentation
|
2024-04-29 22:56:48 +03:00 |
|