밥줄팁/C

[VC++] operator <<

ggil 2014. 3. 8. 04:03

template <typename T>
    makecmd & operator<<(T const & datum)
    {
      append( boost::lexical_cast<std::string>(datum) );
      return *this;
    }

저작자표시 비영리 변경금지 (새창열림)