« Return to Thread: templates, macros and spaces

Re: templates, macros and spaces

by David Abrahams :: Rate this Message:

Reply to Author | View in Thread

"John Maddock" <john@...> writes:

> 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.

--
Dave Abrahams
Boost Consulting
www.boost-consulting.com



_______________________________________________
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