
Dave Steffen <dgsteffen@numerica.us> writes:
I presume he's proposing something that would, in either a .h or .cpp file, look approximately like this:
class MyClassDefinition {....}; void My_Function_Declaration;
BOOST_PARAMETER_KEYWORD( tag, name) // #1
inline void My_Fn_Definition () { ... many interesting statements ... }
Precisely speaking, see http://wwww.boost-consulting.com/boost/libs/parameter/test/basics.hpp http://wwww.boost-consulting.com/boost/boost/parameter/keyword.hpp
I agree that macros are code writers, no arguments there.
I also agree that macros are not part of the C++ syntax model at all. No question.
I guess it depends whether you consider the preprocessor to be part of C++ :-) -- Dave Abrahams Boost Consulting www.boost-consulting.com