-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
uuid no longer constexpr contructable #161
Comments
Indeed, thanks for the report. I'll see if I can fix this between the beta and the release, as it's not as easy as just adding a |
Another minor regression: before |
For a contiguous container, Although maybe if the constructor is constexpr, data() should be, too. |
It's also no longer trivial: https://godbolt.org/z/sb8K6YTz7 uuid/include/boost/uuid/uuid.hpp Line 96 in c432e16
|
It's still trivially copyable and standard layout, but no longer trivial (because the default constructor doesn't leave it uninitialized) or POD. |
Construction should be constexpr now on develop. |
Before version 1.85 uuid was an aggreagate and could be constexpr constructed from a sequence of bytes.
With version 1.85 this is no longer possible.
(I've got user-defined literal which converts uuid string-representation at compile-time into uuids that no longer works with 1.85.)
The text was updated successfully, but these errors were encountered: