else if(i->get_signature()==BoolType::signature)
out.write(i->get<BoolType::Store>() ? "true" : "false");
else if(i->get_signature()==IntType::signature)
- out.write(lexical_cast(i->get<IntType::Store>()));
+ out.write(lexical_cast<string>(i->get<IntType::Store>()));
else if(i->get_signature()==FloatType::signature)
out.write(format(float_format, i->get<FloatType::Store>()));
else if(i->get_signature()==SymbolType::signature)
std::string name;
template<typename T>
- Symbol(const T &n): name(lexical_cast(n)) { }
+ Symbol(const T &n): name(lexical_cast<std::string>(n)) { }
template<typename T> operator T() const { return lexical_cast<T>(name); }
};