Boost logo

Boost :

Subject: Re: [boost] Metaprogramming: parameter pack expansion/evaluation trick
From: Tim Song (t.canens.cpp_at_[hidden])
Date: 2015-07-03 03:39:45


On Fri, Jul 3, 2015 at 3:35 AM, Tim Song <t.canens.cpp_at_[hidden]> wrote:

> (std::cout << a << '\n', ...);

Actually, that requires a cast-expression, so need more parens:

((std::cout << a << '\n'), ...);


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk