Boost logo

Boost :

From: Daniel Frey (daniel.frey_at_[hidden])
Date: 2003-12-09 11:25:13


Rani Sharoni wrote:
> I accidentally encounter some bug in EDG (latest) that is exploitable for
> implementing is_incomplete. I personally despise this ODR rebel but I
> suspect that some really like it.

I was thinking about something similar while fixing checked_delete, but
refrained from it as violating the ODR seemed to dangerous to me. Check
the "feature" of some compilers to set the sizeof(T) to 0 for incomplete
types T. Maybe it works on more compilers than the bug you found
currently, since some vendors think it's a feature :o)

Regards, Daniel

-- 
Daniel Frey
aixigo AG - financial solutions & technology
Schloß-Rahe-Straße 15, 52072 Aachen, Germany
fon: +49 (0)241 936737-42, fax: +49 (0)241 936737-99
eMail: daniel.frey_at_[hidden], web: http://www.aixigo.de

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