Subject: Re: [boost] Heads up - string_ref landing
From: Olaf van der Spek (ml_at_[hidden])
Date: 2012-11-26 07:03:58
On Mon, Nov 26, 2012 at 12:56 PM, Andrey Semashev
> The problem with std::string is the same as with string_ref - it
> doesn't support implicit construction from an arbitrary range, so my
> examples with custom string types would still not work.
You're right, although I expect both to get support when detection of
contiguous ranges becomes possible.
> the component. After all, why not have a contiguous range of ints, for
Like boost::iterator_range<const int*>?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk