lemon/lgf_writer.h
changeset 217 b67149f0e675
parent 209 765619b7cbb2
child 220 a5d8c039f218
equal deleted inserted replaced
12:e5c488f9c398 13:0c70fe1a3616
   179       const Value& _value;
   179       const Value& _value;
   180       Converter _converter;
   180       Converter _converter;
   181 
   181 
   182     public:
   182     public:
   183       ValueStorage(const Value& value, const Converter& converter = Converter())
   183       ValueStorage(const Value& value, const Converter& converter = Converter())
   184          : _value(value), _converter(converter) {}
   184         : _value(value), _converter(converter) {}
   185 
   185 
   186       virtual std::string get() {
   186       virtual std::string get() {
   187         return _converter(_value);
   187         return _converter(_value);
   188       }
   188       }
   189     };
   189     };