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++ 126.96.36.199, Intel C++
> > and, surprisingly, MSVC 6.5 (after getting rid of partial specialization,
> > 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] * http://www.boost-consulting.com Building C/C++ Extensions for Python: Dec 9-11, Austin, TX http://www.enthought.com/training/building_extensions.html
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk