Boost logo

Boost :

Subject: Re: [boost] [algorithm] Test failure in C++14
From: Jonathan Wakely (jwakely.boost_at_[hidden])
Date: 2013-12-13 06:25:17


> I haven't looked in detail, but it looks like those two overloads were
> added in C++14 and need guarding with a suitable #if __cplusplus >=
> C++1Y_version_here

The value of that macro isn't decided for C++14 yet, so it's better to use:

#if __cplusplus > 201103L


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