Boost logo

Boost :

Subject: Re: [boost] [smart_ptr] comparison of intrusive_ptr objects
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-09-29 10:59:01


AMDG

Dmitry Vinogradov wrote:
> Does anybody know why intrusive_ptr has ==, != and < operators, but
> the rest ones are missing (i.e. >, <=, >=)?
> It makes hard to use intrusive_ptr in generic code.

Generally, the convention is for generic code to use only <, ==, and !=.

In Christ,
Steven Watanabe


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