Hi Andrew, Have you defined cast_stream anywhere? #include <sstream> template <class out_t, class in_t> out_t cast_stream(in_t const& in) { std::stringstream s; s << in; out_t result; s >> result; return result; } HTH, --Eljay
Hi Andrew, Have you defined cast_stream anywhere? #include <sstream> template <class out_t, class in_t> out_t cast_stream(in_t const& in) { std::stringstream s; s << in; out_t result; s >> result; return result; } HTH, --Eljay