Boost logo

Boost :

From: Guillaume Desticourt (guillaume.desticourt_at_[hidden])
Date: 2006-01-23 14:29:21


Hello,

i tried to use Aspectc++ with boost, and it failed to parse such token as:
@#ifdef
a simple grep show me several occurrence of this:
ultimatetrader% grep -nr '@#if' /usr/include/boost/*
/usr/include/boost/type_traits/detail/is_mem_fun_pointer_impl.hpp:788:@#ifndef
BOOST_TT_NO_ELLIPSIS_IN_FUNC_TESTING
/usr/include/boost/type_traits/detail/is_mem_fun_pointer_impl.hpp:793:@#if
!defined(BOOST_TT_NO_CV_FUNC_TEST)
/usr/include/boost/type_traits/detail/is_mem_fun_pointer_impl.hpp:803:@#ifndef
BOOST_TT_NO_ELLIPSIS_IN_FUNC_TESTING
/usr/include/boost/type_traits/detail/is_function_ptr_tester.hpp:580:@#ifndef
BOOST_TT_NO_ELLIPSIS_IN_FUNC_TESTING
/usr/include/boost/type_traits/detail/is_function_ptr_tester.hpp:584:@#ifdef
BOOST_TT_TEST_MS_FUNC_SIGS
/usr/include/boost/type_traits/detail/is_function_ptr_helper.hpp:215:@#ifndef
BOOST_TT_NO_ELLIPSIS_IN_FUNC_TESTING

i don't think the '@#ifdef' is standart c++, is it?
how come c++ compilers (at leat g++) don't fail on these tokens?

i use libboost-dev 1.32.0+1.33.0-cvs20050727-1ubuntu1, if it helps....

regards,

--
Guillaume Desticourt

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