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 ...
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 ...
I'm trying to write a boost::uuids::uuid parser with boost::spirit::qi in order to use it in a nice way with other qi parsers and to have a nice unifi ...
I am trying to generate boost::uuids::uuid from boost::compute::detail::sha1 in this way: But this code fails with error Error occurred: invalid uu ...
I need to generate UUIDs for use as non-predictable / guessable session IDs. This can easily be accomplished using boost's UUID library: The retur ...
I am trying to embed the boost uuid package in my project. For ease we would like to just include some DLLs, as we do with most libraries we use. I ca ...
I use .data() to get 16 bytes data array. Later I write it to a file and I want to load it back to a uuid variable. Should I just perform memory copy ...
I have this code which is based on several posts in SO: but when I am compiling this code, I am getting this error: How can I fix this error? ...
I am using boost::uuid in order to generate unique ids: When I use valgrind in order to analyse my code i get the following remarks: Valgrind lo ...
I am wondering how to get the same uuid by using the same seed string. Any idea? ...
I want to check if a given string is a valid UUID using boost. This is what I have come up with by looking at the documentation on the boost website ...
Trying to serialize this simple class: But I get this error message Poiting to the uuid. The boost serialization way to enable this would be to ...
I am writing an application with cocos2d-x which is a C++ cross-platform game engine. In the game I need to generate UUID without any input. Just I wa ...
I've just started using boost in c++ and I just wanted to ask a couple of questions relating to uuids. I am loading in a file which requires I know ...
Consider this function compiling with g++ -std=c++11 (GCC 4.7.2): Is it safe to call getID from multiple threads? As it is mentioned here the loca ...
I have to generate a "unique Random Number" in a Wireless sensor network which works on the principle of Gossiping. The requirements are: Each no ...
I'm using clang (CXX='clang++ -std=c++11 -stdlib=libc++') on Mac OS X, with boost 1.53.0. I want to use uuid as keys in unordered_map, but getting th ...
I have a class with members: In the constructor I wrote: Valgrind writes: What could it be? ...
When I generate the random number with single thread, no duplicate in 4M uuids generated but if I generate with two threads each 1M, I see roughly 16- ...
I'm working in a manager class, that holds string representing paths. From this strings, I'd like to have a boost.uuid using a code like this: But ...
I want to generate just random UUID's, as it is just important for instances in my program to have unique identifiers. I looked into Boost UUID, but I ...