Subject: Re: [boost] [test] Ticket #6624 (Add a BOOST_<level>_NE_COLLECTIONS testing tool)
From: Daniel Trebbien (dtrebbien_at_[hidden])
Date: 2012-04-12 08:17:56
On 2012-04-10, Gennadiy Rozental <rogeeff_at_[hidden]> wrote:
> JÃ¼rgen Hunold <jhunold <at> gmx.eu> writes:
>> If you add the necessary tests, I can get in this in. If I can get
>> approval, of course.
> Sorry for the silence. I was out of town for a bit.
> Frankly, I would not be keen on adding more tools like this. Latest
> is moving away from all these NE, GT etc tool variants. Maybe if you can
> come up
> with something more generic, which will work for any comparisons you'd like
> do with collection elements. Something like:
> vector<int> a;
> vector<int> b;
> BOOST_CHECK( COL(a) > b );
> BOOST_CHECK( COL(a) == b );
> BOOST_CHECK( COL(a) <= b );
> I already implemented non collection tools (see in trunk).
Okay. I will look into the new style of testing tools and work on a
patch for that.
Would it be alright to also add the BOOST_<level>_NE_COLLECTIONS macro
for "legacy" users? A new patch would add support for the new style
of testing tools as well as the BOOST_<level>_NE_COLLECTIONS macro.
Boost list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk