|
Boost : |
From: Daniel Frey (daniel.frey_at_[hidden])
Date: 2003-12-15 10:21:43
Rani Sharoni wrote:
> Note that 4.3.3 beta is now the default version.
> Thank you for testing your code with Comeau C/C++!
> Tell others about http://www.comeaucomputing.com/tryitout !
>
> Your Comeau C/C++ test results are as follows:
>
> Comeau C/C++ 4.3.3 (Aug 6 2003 15:13:37) for ONLINE_EVALUATION_BETA1
> Copyright 1988-2003 Comeau Computing. All rights reserved.
> MODE:strict errors C++
>
> "ComeauTest.c", line 66: error: the size of an array must be greater than
> zero
> typedef int test[!is_incomplete<A>::value];
I didn't noticed that "EDG (latest)" means the Comeau compiler, sorry -
otherwise I could have tried it myself. It also shows what I expected:
The ODR leads to a cache-effect on ::value which is only calculated for
the first POI. One more reason not to use is_incomplete. Anyway, a quite
amusing thread. Thanks Rani.
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