|
Boost : |
Subject: Re: [boost] [Fusion] Can repetitive_view support "at" function?
From: TONGARI J (tongari95_at_[hidden])
Date: 2014-03-24 23:14:31
2014-03-25 10:30 GMT+08:00 Joel de Guzman <djowel_at_[hidden]>:
> On 3/24/14, 10:06 PM, TONGARI J wrote:
>
>> I know it's a bit weird for asking repetitive_view which cannot model
>> BidirectionalSequence to support the functionality of
>> RandomAccessSequence,
>> but it seems quite reasonable to support "at" when the underlying sequence
>> models RandomAccessSequence even though repetitive_view cannot model
>> RandomAccessSequence itself.
>>
>> Thoughts?
>>
>
> I think it makes sense. Have you tried an implementation?
>
Not yet. I fallback to do the modulus myself. I worried that if you
introduce concept check, the operation would be inhibited beforehand.
Maybe a deficiency in current taxonomy.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk