persist/include/persist/utility/uid.hpp
/**
 * @brief Generate 64 bit UID
 *
 * @returns 64 bit unique identifier.
 */
@brief Generate 64 bit UID
@returns 64 bit unique identifier.
@brief Generate 64 bit UID @returns 64 bit unique identifier .
static uint64_t uid() {
  std::random_device rd;
  std::mt19937_64 e2(rd());
  std::uniform_int_distribution<uint64_t> dist(
      0, std::numeric_limits<uint64_t>::max());
  return dist(e2);
}
static uint64_t uid ( ) { std :: random_device rd ; std :: mt19937_64 e2 ( rd ( ) ) ; std :: uniform_int_distribution < uint64_t > dist ( 0 , std :: numeric_limits < uint64_t > :: max ( ) ) ; return dist ( e2 ) ; }
@brief Generate 64 bit UID
 @returns 64 bit unique identifier.
@brief Generate 64 bit UID @returns 64 bit unique identifier .