Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-05-01 16:30:50


"Howard Hinnant" <hinnant_at_[hidden]> wrote in message
news:304705fde50507a9a9bc7dbac2aba447_at_twcny.rr.com...
| On May 1, 2005, at 4:50 AM, Stefan Slapeta wrote:
|
| > # 1034: if (*first1 < *first2)
| > # Error: ^
| > # illegal operands 'const animal' < 'const animal'
|
| So is a const animal less-than comparable?

no.

but I'm not instantiating any code that uses operator <()

why is this code checked anyway, if not instantiating it?

-Thorsten


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