Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-05-02 10:01:29


"Stefan Slapeta" <stefan_at_[hidden]> wrote in message
news:d556tq$qdu$1_at_sea.gmane.org...
| Howard Hinnant wrote:
|
| >
| > The error message is saying that
| >
| > boost::operator >= (ptr_container_detail::reversible_ptr_container< ...
| > animal...>, ...)
| >
| > is being instantiated.

| Actually, it's instantiated here:
|
| bool operator<( const reversible_ptr_container& r ) const // nothrow
| {
| return std::lexicographical_compare( begin(), end(), r.begin(),
| r.end() );
| }

I'm certainly misunderstanding something...I thought instantiation was only
supposed to happen if I use the
thing, in this case bool operator<(...).

what am I misunderstanding?

-Throrsten


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