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