Interface Documentation
Version: invalid
Public Member Functions | Static Public Member Functions | List of all members
flecsi::util::unique_id< UNIQUENESS_TYPE, COUNTER_TYPE, MAXIMUM > Struct Template Reference

#include <common.hh>

Public Member Functions

auto next ()
 

Static Public Member Functions

static unique_idinstance ()
 

Detailed Description

template<typename UNIQUENESS_TYPE, typename COUNTER_TYPE = size_t, COUNTER_TYPE MAXIMUM = (std::numeric_limits<COUNTER_TYPE>::max)()>
struct flecsi::util::unique_id< UNIQUENESS_TYPE, COUNTER_TYPE, MAXIMUM >

The unique_id type provides a utility to generate a series of unique ids.

Template Parameters
UNIQUENESS_TYPEA dummy type to differentiate instances.
COUNTER_TYPEThe underlying counter type.
MAXIMUMThe maximum legal id.

The documentation for this struct was generated from the following file: