|
Boost Users : |
Subject: Re: [Boost-users] PP: BOOST_PP_CAT concatenate an argument with a whitespace
From: Daniel James (daniel_james_at_[hidden])
Date: 2010-02-06 12:27:24
On 6 February 2010 17:13, Hicham Mouline <hicham_at_[hidden]> wrote:
> Hi,
>
> BOOST_PP_CAT( MACRO1, MACRO2 );
>
> MACRO1 expands to double
> MACRO2 expands to x
>
> BOOST_PP_CAT( MACRO1, MACRO2 ); therefore expands to doublex;
>
> I am trying to get the statement
>
> double x;
Can't you just write MACRO1 MACRO2?
Daniel
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