Boost logo

Boost :

From: Alexander Nasonov (alnsn_at_[hidden])
Date: 2006-04-17 16:02:35


Hi Jorge,
I found some corner cases while trying to implement Kevlin's idea.
If you're interested, I can send you my letter to Kevlin.

> 1. If operator== is not used there should be no need for holded classes to
> implement it.
> 2. If operator== is used, and the holded class does not define it, the code
> must not compile.
It's not possible. You may create "any" object in one TU and call
operator== in other. A compiler doesn't know about other TUs. It just
compiles current TU.

-- 
Alexander Nasonov
Project Manager
http://www.akmosoft.com

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