 
            
            
            
            
                14 Jul
                
                    2005
                
            
            
                14 Jul
                
                '05
                
            
            
            
        
    
                11:17 p.m.
            
        David Abrahams wrote:
I am defining a macro,
BOOST_PARAMETER_KEYWORD(tag_namespace, name)
that declares a keyword for the Parameter library. It has to be used at namespace scope. I have the option to define it so that correct usage requires a trailing semicolon, or so that the trailing semicolon is forbidden. Unfortunately I don't have the ability to make it optional. Which should I choose?
The former. Require the user to put a trailing semi-colon. Lines like: SOME_MACRO(parameter, anotherparameter) look ugly, and are confusing since a C++ programmer will always end a similar-looking function call with a semi-colon.