Boost logo

Boost Users :

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


Hello

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.

Rds,


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net