Boost logo

Boost Users :

Subject: [Boost-users] [tuple] set_open manipulator
From: Hicham Mouline (hicham_at_[hidden])
Date: 2010-07-06 08:11:13


I am trying to remove the ( bracket from the output of a tuple.

So I've called

stream << boost::tuples::set_open( static_cast<char>(0) ) << boost::tuples::set_close( static_cast<char>(0) ) << tuple;
however, the brackets are still printed.

PS: when I used '' instead of static_cast<char>(0), gcc complained about empty character constant.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at