diff --git a/include/fc/static_variant.hpp b/include/fc/static_variant.hpp index 4a440a2..070fadd 100644 --- a/include/fc/static_variant.hpp +++ b/include/fc/static_variant.hpp @@ -443,6 +443,9 @@ public: } tag_type which() const {return _tag;} + + template + bool is_type() const { return _tag == tag::value; } }; struct from_static_variant