$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] How do I print a standard pair?
From: Boris Schaeling (boris_at_[hidden])
Date: 2011-09-27 18:00:17
On Wed, 21 Sep 2011 16:59:06 +0200, Krzysztof Żelechowski
<giecrilj_at_[hidden]> wrote:
> The expression (cout << make_pair (0, 1)) gives me an error. Does Boost
> offer me a way to print a (rvalue) pair, as within an expression?
If you can replace std::pair with boost::tuple, you could write (cout <<
make_tuple (0, 1)).
Boris