#ifndef ISAAC_TOOLS_MAKE_VECTOR_HPP #define ISAAC_TOOLD_MAKE_VECTOR_HPP #include namespace isaac { namespace tools { template class make_vector { public: typedef make_vector my_type; my_type& operator<< (const T& val) { data_.push_back(val); return *this; } operator std::vector() const { return data_; } private: std::vector data_; }; } } #endif