[Dlang-internal] Potential changes to DDoc

Adam D. Ruppe destructionator at gmail.com
Sat Feb 3 14:48:26 UTC 2018


On Saturday, 3 February 2018 at 10:57:58 UTC, Walter Bright wrote:
> You can see it in the CCODE macro used on the dlang web site 
> source.

Hmm, indeed. I'll let a copy/pasted segment out of 
templates-revisited.dd speak for itself:

$(CCODE
template<class T, class U> class Bar { ... };

template<class T, class U> T foo(T t, U u) { ... }

template<class T, class U> static T abc;
)




More information about the Dlang-internal mailing list