I'm taking a serious look at the Borland Compiler. I'm not that happy anymore with mingw as, it seems, its not entirely ANSI/ISO compliant. I may decide to buy BCB 6 Pro in a few days.
Anyway, while reading the documentation for the Borland compiler I came across the Token Pasting functionality and 3 questions came to my mind which had no answer over there.
1. Why exactly would I want to use Token Pasting. It seems rather confusing to me, especially the example they give:
2. At which point during the parsing process does comment strip occur? Before or after preprocessor directives parsing.From Borland Compiler documentation
#define VAR(i, j) (i##j)
the call VAR(x, 6) expands to (x6). This replaces the older nonportable method of using (i/**/j)
3. Does Token Pasting have an ANSI/ISO definition or is it exclusive to Borland compiler?



LinkBack URL
About LinkBacks



