Boost logo

Boost :

From: Eric Niebler (eric_at_[hidden])
Date: 2007-04-17 15:36:22


Larry Evans wrote:
> On 04/04/2007 02:18 AM, Eric Niebler wrote:
>> << Requirements >>
>>
>> Tested with Boost RC 1.34 and HEAD.
>>
>> Feedback is most welcome.
>>
>>
> This just a headsup. With the attached, I get:
>
> gcc.compile.c++
> ../../../../../../bin.v2/sandbox/lje/libs/xpressive/proto/example/gcc-4.1/debug/class_var_incomplete_test.o
>

I don't think this is a bug in proto. I get the same error with:

     #include <utility>

     struct inp
     {
         typedef std::pair<inp, inp> type;
         static const type c;
     };

     int main()
     {
         void const *p = &(inp::c);
         return p != 0;
     }

(Tested with msvc-8.0.)

-- 
Eric Niebler
Boost Consulting
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