« Return to Thread: templates, macros and spaces

Re: templates, macros and spaces

by Andy Little :: Rate this Message:

Reply to Author | View in Thread


"David Abrahams" wrote

> "John Maddock" wrote
>
>> So.... I'm hoping that this can be solved by changing the pretty-printing
>> code, but I have suspicions that the problems may run deeper.
>
> In ReST they have a "breaking non-space."  That is, if you
> backslash-escape a space character, you get something that can
> separate tokens without generating any space in the output:
>
>  x\ super(2)
>
> In quickbook maybe that should be:
>
>  x[]super(2)
>
> Although I think I might prefer:
>
>  x!super(2)
>
> An exclamation point with no whitespace on either side is sufficiently
> rare, I think.

How about a function that performs concatenation, say 'cat'

 [cat lhs rhs]

(using alt syntax)

regards
Andy Little





_______________________________________________
Boost-docs mailing list
Boost-docs@...
Unsubscribe and other administrative requests: https://lists.sourceforge.net/lists/listinfo/boost-docs

 « Return to Thread: templates, macros and spaces