Toolbox snapshot
The Reactive C++ Toolbox
Loading...
Searching...
No Matches
Classes | Namespaces | Concepts | Typedefs | Functions
IntTypes.hpp File Reference
#include <toolbox/util/TypeTraits.hpp>
#include <boost/functional/hash.hpp>
Include dependency graph for IntTypes.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  toolbox::util::IntPolicy< ValueT >
 
struct  toolbox::util::IntWrapper< PolicyT >
 
struct  toolbox::util::TypeTraits< ValueT >
 
struct  toolbox::util::Id16Policy
 
struct  toolbox::util::Id32Policy
 
struct  toolbox::util::Id64Policy
 
struct  std::hash< toolbox::IntWrapper< PolicyT > >
 

Namespaces

namespace  toolbox
 
namespace  toolbox::util
 
namespace  std
 STL namespace.
 

Concepts

concept  toolbox::util::IsIntWrapper
 

Typedefs

using toolbox::util::Int16Policy = IntPolicy< std::int16_t >
 
using toolbox::util::Int32Policy = IntPolicy< std::int32_t >
 
using toolbox::util::Int64Policy = IntPolicy< std::int64_t >
 
using toolbox::util::Id16 = IntWrapper< Id16Policy >
 16 bit identifier.
 
using toolbox::util::Id32 = IntWrapper< Id32Policy >
 32 bit identifier.
 
using toolbox::util::Id64 = IntWrapper< Id64Policy >
 64 bit identifier.
 

Functions

template<typename PolicyT >
std::size_t toolbox::util::hash_value (IntWrapper< PolicyT > wrapper)
 
constexpr Id16 toolbox::util::operator""_id16 (unsigned long long val) noexcept
 
constexpr Id32 toolbox::util::operator""_id32 (unsigned long long val) noexcept
 
constexpr Id64 toolbox::util::operator""_id64 (unsigned long long val) noexcept