libcaf  0.15.3
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
caf::atom_constant< V > Struct Template Reference

Lifts an atom_value to a compile-time constant. More...

#include <atom.hpp>

Public Member Functions

constexpr operator atom_value () const
 Returns the wrapped value.
 

Static Public Member Functions

static constexpr uint64_t uint_value ()
 

Static Public Attributes

static const atom_constant value = atom_constant<V>{}
 Returns an instance of this constant (not an atom_value).
 

Detailed Description

template<atom_value V>
struct caf::atom_constant< V >

Lifts an atom_value to a compile-time constant.

Examples:
dancing_kirby.cpp, and dining_philosophers.cpp.

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