class ngraph::VariantImpl¶
#include <variant.hpp>
template <typename VT>
class VariantImpl: public Variant
{
public:
// typedefs
typedef VT value_type;
// construction
VariantImpl();
VariantImpl(const value_type& value);
// methods
OPENVINO_RTTI(typeid(VT).name());
const value_type& get() const;
value_type& get();
void set(const value_type& value);
};
// direct descendants
template <>
class VariantWrapper<int64_t>;
template <>
class VariantWrapper<std::string>;