-----Original Message----- From: Boost [mailto:boost-bounces@lists.boost.org] On Behalf Of Peter Dimov via Boost Sent: 27 June 2017 17:01 To: boost@lists.boost.org Cc: Peter Dimov Subject: Re: [boost] Reminder: 1.65 closes for major changes tomorrow
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.
Do any of the macros BOOST_CONSTEXPR, BOOST_CONSTEXPR_OR_CONST, BOOST_STATIC_CONSTEXPR ... http://www.boost.org/doc/libs/1_64_0/libs/config/doc/html/boost_config/boost... help you here? Paul --- Paul A. Bristow Prizet Farmhouse Kendal UK LA8 8AB +44 (0) 1539 561830