Boost logo

Boost Users :

Subject: [Boost-users] [wave] problem with "/##/" macro
From: Evgeniy Rigkov (rigkov_at_[hidden])
Date: 2010-07-29 07:29:51

I found a problem with preprocessing "/##/" macro.
For example, I have a next code:
#define COMMENT_MACRO /##/
void test() {
This code can pe preprocessed (with help any correct preprocessor) to next:
void test() {
  // comment
But after usage boost::wave utility (from boost 1.43) I have this code:
void test() {
How you see the symbol "//" is forgotten.
How fix it?

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at