Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-10-23 10:18:36

"Peter Dimov" <pdimov_at_[hidden]> writes:

> From: "Aleksey Gurtovoy" <agurtovoy_at_[hidden]>
> > Here's an implementation that works with Comeau C/C++, Intel C++
> 6.0
> > and, surprisingly, MSVC 6.5 (after getting rid of partial specialization,
> of
> > course; not shown here):
> is_incomplete can never work. It violates ODR. ;-) Nice trick though.

Maybe you can play some trick with the unnamed namespace?
As long as you don't complete the type after instantiating
Hmm, sounds like a hack.

                    David Abrahams
dave_at_[hidden] *
Building C/C++ Extensions for Python: Dec 9-11, Austin, TX

Boost list run by bdawes at, gregod at, cpdaniel at, john at