Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-08-05 21:28:34


Felipe Magno de Almeida <felipe.m.almeida_at_[hidden]> writes:

> On 8/5/05, David Abrahams <dave_at_[hidden]> wrote:
>> Felipe Magno de Almeida <felipe.m.almeida_at_[hidden]> writes:
>>
>> I don't think that's a valid strict weak ordering criterion, because
>> for two classes unrelated by inheritance it produces true in either
>> argument order.
>>
>
> Is it possible to use a non-strict weak ordering criterion with
> mpl::sort and have it sorted?

What do the requirements for sort say about it? That's the final
authority.

> All that I care is that the deriveds be after its bases in this
> sequence. Or is there any better way to accomplish this?

Do it the way I told you to in my post.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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