2
0
mirror of https://github.com/boostorg/phoenix.git synced 2026-02-14 13:02:10 +00:00
Files
phoenix/test/regression/bug6040.cpp
Thomas Heller 7d976b6f41 [phoenix]
- some cosmetic changes
    - fixing bug #6040



[SVN r75069]
2011-10-20 13:41:39 +00:00

15 lines
348 B
C++

#include <boost/phoenix.hpp>
#include <vector>
#include <algorithm>
#include <sstream>
int main()
{
std::vector<unsigned char> data;
using boost::phoenix::arg_names::_1;
using boost::phoenix::static_cast_;
std::ostringstream oss;
oss << std::hex;
std::for_each(data.begin(),data.end(), static_cast_<unsigned int>(_1) );
}