Kagome
Polkadot Runtime Engine in C++17
wrapper.hpp File Reference
#include <memory>
#include <type_traits>
#include <boost/operators.hpp>
Include dependency graph for wrapper.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kagome::common::Wrapper< T, Tag >
 Make strongly typed structures from different concepts of the equal types. E.g. block height and round number are both uint64_t, but better to be different types. Or, ID and Signature both vectors. More...
 
struct  std::hash< kagome::common::Wrapper< T, Tag > >
 

Namespaces

 kagome::common
 

Functions

template<typename T , typename Tag , typename = std::enable_if<std::is_arithmetic<T>::value>>
bool kagome::common::operator< (const Wrapper< T, Tag > &a, const Wrapper< T, Tag > &b)