Boost logo

Boost :

Subject: Re: [boost] Heads up - string_ref landing
From: Yanchenko Maxim (maximyanchenko_at_[hidden])
Date: 2012-11-16 13:59:04


17.11.2012, 02:47, "Peter Dimov" <lists_at_[hidden]>:

> šYakov Galka wrote:
>> ššI would attack this problem in a different way. There should be a
>> ššcontiguous_iterator_tag : random_access_iterator_tag in the standard, ...
> šThis deserves a standard proposal, IMO.

Isn't just an std::is_pointer<> enough to make a choice?
iterator_range<T*> is already a contiguous range as T* is a contiguous iterator.

Maxim


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