Boost logo

Boost :

Subject: Re: [boost] [Variant] [BGL] Variant<edge_descriptor, edge_descriptor> is not EqualityComparable
From: Cosimo Calabrese (cosimo.calabrese_at_[hidden])
Date: 2009-11-20 11:18:00


Andrew Sutton wrote:
>> If you can post your full implementation, I'll run it through GCC and see
>>> if the error persists, or if there's a nicer way to fix it.
>>
> For starters, the program you gave me doesn't compile in GCC - actually, it
> probably shouldn't compile at all. Some of your functions in
> Test_union_different_iterator are defined over type parameters when they
> need to be defined over template template parameters. See attached for
> fixes.
>

Thanks for the corrections, they are many instructive for me, they are
my first iterator and adaptors...
Effectively my code runs correctly on MSVS 2005; it seems that GCC is
(fortunately) more rigorous.

> The good news is that GCC will generate the same compiler error.
>
> Best bet: stick with the solution you have.

Ok! Thank you very much for help me.

Cheers,
Cosimo Calabrese.


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