Boost logo

Boost Users :

Subject: [Boost-users] PP: BOOST_PP_CAT concatenate an argument with a whitespace
From: Hicham Mouline (hicham_at_[hidden])
Date: 2010-02-06 12:13:59


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;

 

I couldn't find any macro that expands to whitespace?

I am missing something obvious here

 

Regards,



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