Subject: Re: [boost] [TypeSort] Automatic type sorting
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2015-03-25 08:52:38
On 22/03/2015 07:52, Louis Dionne wrote:
> Peter Dimov <lists <at> pdimov.com> writes:
>> Louis Dionne wrote:
>>> Eric Niebler <eniebler <at> boost.org> writes:
>>>> FWIW, these indices don't seem all that useful to me. What exactly was
>>>> the desired behavior?
>>> No idea
>> The desired behavior was for indexing the sorted tuple to work like indexing
>> the original tuple. That is, given tuple<char, char, char, char,
>> char>, you were supposed to produce another tuple for which get<0> still
>> returns char, even though the first element is physically char.
> Oh, yes of course. Then I think the original code did not do the
> right thing, or I made a mistake while translating it to Hana.
What's wrong with the original code?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk