libboost-uuid/1.81.0+1

[brief]

A universally unique identifier

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

Build Status

Branch GHA CI Appveyor CI 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

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
version 1.81.0+1
license BSL-1.0Boost Software License 1.0
repository https://pkg.cppget.org/1/legacy
download libboost-uuid-1.81.0+1.tar.gz
sha256 7f0a6d4b9121e2448d454102b33377ef9cd5a3a4ae3f4ca370c65724e4663e89
project boost
url github.com/boostorg/uuid
doc-url www.boost.org/doc/libs/1_81_0/libs/uuid
package-url github.com/build2-packaging/boost
package-email packaging@build2.orgMailing list
topics C++Boost

Depends (15)

libboost-assert == 1.81.0
libboost-config == 1.81.0
libboost-container-hash == 1.81.0
libboost-core == 1.81.0
libboost-io == 1.81.0
libboost-move == 1.81.0
libboost-numeric-conversion == 1.81.0
libboost-predef == 1.81.0
libboost-random == 1.81.0
libboost-serialization == 1.81.0
libboost-static-assert == 1.81.0
libboost-throw-exception == 1.81.0
libboost-tti == 1.81.0
libboost-type-traits == 1.81.0
libboost-winapi == 1.81.0

Reviews

fail 0
pass 1