1 /*==============================================================================
2 Copyright (c) 2005-2010 Joel de Guzman
3 Copyright (c) 2010 Thomas Heller
5 Distributed under the Boost Software License, Version 1.0. (See accompanying
6 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 ==============================================================================*/
9 #include <boost/phoenix.hpp>
16 std::vector<unsigned char> data;
17 using boost::phoenix::arg_names::_1;
18 using boost::phoenix::static_cast_;
19 std::ostringstream oss;
21 std::for_each(data.begin(),data.end(), static_cast_<unsigned int>(_1) );