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...
template<typename T, typename Tag>
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.
- Template Parameters
-
T | wrapped type |
Tag | unique tag |
Definition at line 24 of file wrapper.hpp.