Go to file
2019-06-25 13:21:13 -04:00
doc Fix for typo (LICENCE) and for https links to license (#103) 2019-04-22 08:56:05 -04:00
include/boost/uuid Add BOOST_UUID_COMPAT_PRE_1_71_MD5 compatibility mode 2019-06-25 13:21:13 -04:00
meta fix name in meta 2018-05-17 17:32:55 +00:00
test Add BOOST_UUID_COMPAT_PRE_1_71_MD5 compatibility mode 2019-06-25 13:21:13 -04:00
.gitattributes Move top-level boost directory over to "devel" (temporarily) 2007-07-31 20:32:15 +00:00
.travis.yml add a big-endian bdde travis ci job to prove endian issues resolved 2019-06-25 13:21:13 -04:00
appveyor.yml Add asan and tsan travis jobs 2019-06-10 10:54:53 -04:00
index.html Fix for typo (LICENCE) and for https links to license (#103) 2019-04-22 08:56:05 -04:00
Jamfile Fix for typo (LICENCE) and for https links to license (#103) 2019-04-22 08:56:05 -04:00
LICENSE Add license file 2018-04-29 09:57:56 -04:00
README.md Fix for typo (LICENCE) and for https links to license (#103) 2019-04-22 08:56:05 -04:00

Uuid, part of collection of the Boost C++ Libraries, provides a C++ wrapper around RFC-4122 UUIDs.

License

Distributed under the Boost Software License, Version 1.0.

Properties

  • C++03
  • Header-only

Build Status

Branch Travis Appveyor Coverity Scan codecov.io Deps Docs Tests
master Build Status Build status Coverity Scan Build Status codecov Deps Documentation Enter the Matrix
develop Build Status Build status Coverity Scan Build Status codecov Deps Documentation Enter the Matrix

Directories

Name Purpose
doc documentation
include headers
test unit tests

More information

  • Ask questions
  • Report bugs: Be sure to mention Boost version, platform and compiler you're using. A small compilable code sample to reproduce the problem is always good as well.
  • Submit your patches as pull requests against develop branch. Note that by submitting patches you agree to license your modifications under the Boost Software License, Version 1.0.
  • Discussions about the library are held on the Boost developers mailing list. Be sure to read the discussion policy before posting and add the [uuid] tag at the beginning of the subject line.

Code Example - UUID Generation

// Copyright 2017 James E. King III
// Distributed under the Boost Software License, Version 1.0.
// (See https://www.boost.org/LICENSE_1_0.txt)
//  mkuuid.cpp example

#include <boost/lexical_cast.hpp>
#include <boost/uuid/random_generator.hpp>
#include <boost/uuid/uuid_io.hpp>
#include <iostream>

int main(void)
{
    boost::uuids::random_generator gen;
    std::cout << boost::lexical_cast<std::string>(gen()) << std::endl;
    return 0;
}

----

$ clang++ -ansi -Wall -Wextra -std=c++03 -O3 mkuuid.cpp -o mkuuid
$ ./mkuuid
2c186eb0-89cf-4a3c-9b97-86db1670d5f4
$ ./mkuuid
a9d3fbb9-0383-4389-a8a8-61f6629f90b6