// (C) Copyright Jonathan Turkanis 2004. // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt. // Disclaimer: Not a Boost library. #include #include #include #include #include struct Thing { }; int main() { using namespace std; using namespace boost::assign; using namespace boost::io; vector strings = list_of("London")("Paris")("Prague"); cout << punctuate< vector >("[ ", ", ", " ]") << strings << "\n"; return 0; }