Updates from BitShares FC #22
1 changed files with 3 additions and 0 deletions
|
|
@ -443,6 +443,9 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
tag_type which() const {return _tag;}
|
tag_type which() const {return _tag;}
|
||||||
|
|
||||||
|
template<typename T>
|
||||||
|
bool is_type() const { return _tag == tag<T>::value; }
|
||||||
};
|
};
|
||||||
|
|
||||||
struct from_static_variant
|
struct from_static_variant
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue