template< typename V, typename C > inline void insert( std::stack<V,C>& c, const V& v ) { c.push( v ); } End of Listing