struct value_identifier : public value_string
{
+ inline value_identifier () {}
+
template<typename id, typename arg_type>
inline value_identifier (const id &s, arg_type &arg)
: value_string (s, arg)
inline const std::string &identifier () const
{
- return string ();
+ return static_cast<const std::string &>
+ (variant<typename vw::value_identifier> ());
}
inline std::string &identifier ()
{
- return string ();
+ return static_cast<std::string &>
+ (variant<typename vw::value_identifier> ());
}
inline const typename impl::source_file &source_file () const