Boost logo

Boost :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2007-04-18 00:08:04


On 04/17/2007 02:36 PM, Eric Niebler wrote:
[snip]
> 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.)
>
Maybe msvc-8.0 shouldn't get the same error. I tried that
code with g++ and got no error. However, I did try
the attached, which contains just the essense of the proto
code, and reproduced the error with g++ but not
with como. So, I'm thinking g++ has a bug.




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