
26 Nov
2012
26 Nov
'12
12:03 p.m.
On Mon, Nov 26, 2012 at 12:56 PM, Andrey Semashev <andrey.semashev@gmail.com> wrote:
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 example?
Like boost::iterator_range<const int*>? -- Olaf