Boost logo

Boost :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-07-16 18:00:12


AMDG

Adam Black wrote:
> Am trying to use boost::circular_buffer. I am using the Intel Compiler
> v10.1 and am building via VS 2008. Read as the Intel Compiler is
> bolted up to VS.
>
> I am getting the following error:
>
> ..\boost_1_35_0\boost/mpl/aux_/integral_wrapper.hpp(80): error:
> expected an operator
> 1> operator AUX_WRAPPER_VALUE_TYPE() const { return
> static_cast<AUX_WRAPPER_VALUE_TYPE>(this->value); }
> 1> ^
> 1>
> 1>..\boost_1_35_0\boost/mpl/aux_/integral_wrapper.hpp(80): error:
> identifier "L" is undefined
> 1> operator AUX_WRAPPER_VALUE_TYPE() const { return
> static_cast<AUX_WRAPPER_VALUE_TYPE>(this->value); }
>

Do you get the same error from this program:

#include <boost/mpl/int.hpp>

int main() {
    boost::mpl::int_<0> test;
    int i = test;
}

If so, what does the preprocessor output?
If this snippet does compile, can you post
a small sample which does give an error?

In Christ,
Steven Watanabe


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