Boost logo

Boost Users :

Subject: Re: [Boost-users] [uuid] constexpr uuid from string and ""_uuid literal
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2018-12-23 12:55:11

> -----Original Message-----
> From: Boost-users [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Tobias Loew via Boost-users
> Sent: 23 December 2018 10:18
> To: boost-users_at_[hidden]
> Cc: Tobias Loew
> Subject: [Boost-users] [uuid] constexpr uuid from string and ""_uuid literal
> Hi,
> while searching for constexpr GUID from string generators, I found
> . Since I
> still work with VS 2015, I wrote a C++11 constexpr version incl. boost-uuid
> generators.
> If there's interest adding this to boost uuid, please have a look at

Could use of Boost macros

Macros that allow use of C++11 features with C++03 compilers


that make code work that will work on all compiler versions


The value of BOOST_NO_CXX11_CONSTEXPR The compiler does not support constexpr.

might also prove useful?

Removing C++03 on existing stuff will be disruptive and unpopular.

(New libraries can use C++anything without annoying anyone already happily using it ;-)


Paul A. Bristow
Prizet Farmhouse
Kendal UK LA8 8AB
+44 (0) 1539 561830

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at