Boost logo

Boost Users :

Subject: Re: [Boost-users] [proto] declaring result type for callable contexts
From: Maurizio Vitale (mav_at_[hidden])
Date: 2009-06-05 15:24:12


>>>>> "Steven" == Steven Watanabe <watanabesj_at_[hidden]> writes:

    Steven> AMDG
    Steven> Maurizio Vitale wrote:
>> Also, in absence of a result_type declaration inside struct eval
>> {...} the type defaults to int.

    Steven> Are you by any chance using Sun CC? If so this is a
    Steven> compiler bug.

No, but I read another post of yours about SunCC defaulting to int on
instantiation failures and since that was what I was getting I started
investigating some more.

I'm distilling some code that show the problem before replying to Eric,
but both gcc 4.3.1 and Intel 11.0 agree on int.

Thanks,

        Maurizio


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net