libstud-uuid

[full]

Portable UUID generation library for C++

This build2 package contains a portable, dependency-free UUID generation
library for C++ that makes sure the generated IDs are actually unique.

Typical usage:

#include <string>
#include <iostream>

#include <libstud/uuid/uuid.hxx>
#include <libstud/uuid/uuid-io.hxx>

int main ()
{
  using stud::uuid;
  using namespace std;

  uuid u (uuid::generate ()); // Generate strong ID using system generator.
  string s (u.string ());     // xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
  cout << u << endl;      ... More
license MIT
project libstud
url https://github.com/libstud/libstud-uuid
2 Versions
version 1.0.1
priority low
repository pkg:cppget.org/stable
depends 0
version 1.0.0
priority low
repository pkg:cppget.org/legacy
depends 0