Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-06-17 09:39:19


Daniel Frey <daniel.frey_at_[hidden]> writes:

> Peter Dimov wrote:
>> John Maddock wrote:
>>
>>>However, the static asserts still always get triggered, and I'm not
>>>sure why: any language lawyers understand this?
>> At the instantiation point B and A<B> are still incomplete.
>
> Would it help to move the BOOST_STATIC_ASSERT to the dtor of A<B>?

Yes, if it meets the design goals fo the author.

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

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