Boost logo

Boost :

Subject: Re: [boost] Reminder: 1.65 closes for major changes tomorrow
From: Peter Dimov (lists_at_[hidden])
Date: 2017-06-27 16:00:40


Frédéric Bron wrote:
> > Christian is the maintainer. I looked at your patch and I guess I would
> > have used .max().
>
> yes, both should give the same. I agree with max().

constexpr max() is C++11 - the context here is a template parameter if I
understand correctly. static_cast<>(-1) works on C++03.


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