Boost logo

Boost :

Subject: Re: [boost] [type_traits] Big changes in develop
From: Peter Dimov (lists_at_[hidden])
Date: 2015-05-28 13:59:20


> "Let C denote the type, if any, of an unevaluated conditional expression
> (5.16) whose first operand is an arbitrary value of type bool, whose
> second operand is an xvalue of type T1, and whose third operand is an
> xvalue of type T2."

Ah, never mind, it passes C through the unary common_type, which does the
decay.

A bit odd to lose the lvalue reference in such a way though.


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