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


Hello,
 
I found a problem with preprocessing "/##/" macro.
 
For example, I have a next code:
 
#define COMMENT_MACRO /##/
 
void test() {
 COMMENT_MACRO comment
}
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() {
  comment
}
 
How you see the symbol "//" is forgotten.
 
How fix it?