|
Boost : |
Subject: Re: [boost] [Range] New I/O functions for ranges
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2014-10-16 05:56:13
> -----Original Message-----
> From: Boost [mailto:boost-bounces_at_[hidden]] On Behalf Of Indiana
> Sent: 16 October 2014 00:39
> To: boost_at_[hidden]
> Subject: Re: [boost] [Range] New I/O functions for ranges
<snip>
> However, I
> decided to take the opportunity to examine a possibility that a couple people
have
> asked about: whether or not these
> C++11 facilities can be made available to C++98 code. Looking into that
> possibility is what's kept me occupied recently.
>
> So my options come down to this:
> 1) Declare the library C++11-or-better-only. That can be enforced by
> ensuring that BOOST_NO_CXX11_RVALUE_REFERENCES is not defined, and
> issuing an error message otherwise.
OK that's Fine.
> So unless anyone objects, I'm going to go ahead and make this "RangeIO"
> library require C++11. (Specifically, I'm going to make it require
> rvalue references - I'm not going to use any more C++11 functionality
> than is absolutely necessary, so no auto or non-static member
> initializers, etc.. For example, I will have it use
> std::initializer_list, but only if BOOST_NO_CXX11_HDR_INITIALIZER_LIST
> is not defined.)
OK that's considerate.
Go for it.
Paul
--- Paul A. Bristow Prizet Farmhouse Kendal UK LA8 8AB +44 (0) 1539 561830
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk