In Java UUID Class there is a way to set upper and lower longs to create a specific value for UUID.
UUID test(-1, -1);
will generate UUID: ffffffff-ffff-ffff-ffff-ffffffffffff
Is there a similar method to create one with BOOST UUID in C++ other then creating a string version of it and converting it back to UUID?
Passing integers to constructor would be ambiguous because you don't know what UUID they would generate as integers can have different byte representations on different platforms. Sure, all-ones (as in -1) and all-zeros make it more or less obvious, but what about other integer values?
The solution is either construct UUID from string or from bytes.