Boost logo

Boost :

Subject: Re: [boost] RFC Expression Validity Asserts
From: Matt Calabrese (rivorus_at_[hidden])
Date: 2015-01-22 19:12:18


On Thu, Jan 22, 2015 at 4:09 PM, Matt Calabrese <rivorus_at_[hidden]> wrote:

> For instance, you can use it to easily do:
>
> template <class T>
> struct has_preincrement_operator
> : std::integral_constant<bool, IS_VALID_EXPR((T) object, ++a)> {};
>
>
Woops, typo there. That should say "++object" or object should have been
declared with the name "a"


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