Daniel Frey
Wed, 03 Sep 2003 12:55:37 -0700
Daniel Frey wrote:
Concatenating two tokens with the '##' operator, where the result isn't a new valid token results in undefined behaviour. In your sample it yields '>>', which is a valid token, so it is well defined. In other contexts two consecutive '>' characters are always interpreted as '>>' and not as two single '>'.
But this isn't the point here. The '>>' was not formend by a '##' operator but by plain consecutiveness:
#define SOME_MACRO(T) <T> SOME_MACRO(some_class<...>) // expands to <some_class<...>>
-- Daniel Frey
aixigo AG - financial training, research and technology Schloß-Rahe-Straße 15, 52072 Aachen, Germany fon: +49 (0)241 936737-42, fax: +49 (0)241 936737-99 eMail: [EMAIL PROTECTED], web: http://www.aixigo.de
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost