D mode

 
1
/* D demo code // copied from phobos/sd/metastrings.d */
2
// Written in the D programming language.
3
4
/**
5
Templates with which to do compile-time manipulation of strings.
6
7
Macros:
8
 WIKI = Phobos/StdMetastrings
9
10
Copyright: Copyright Digital Mars 2007 - 2009.
11
License:   <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.
12
Authors:   $(WEB digitalmars.com, Walter Bright),
13
           Don Clugston
14
Source:    $(PHOBOSSRC std/_metastrings.d)
15
*/
16
/*
17
         Copyright Digital Mars 2007 - 2009.
18
Distributed under the Boost Software License, Version 1.0.
19
   (See accompanying file LICENSE_1_0.txt or copy at
20
         http://www.boost.org/LICENSE_1_0.txt)
21
 */
22
module std.metastrings;
23
24
/**
25
Formats constants into a string at compile time.  Analogous to $(XREF
26
string,format).
27
28
Parameters:
29
30
A = tuple of constants, which can be strings, characters, or integral
31
    values.
32

Simple mode that handle D-Syntax (DLang Homepage).

MIME types defined: text/x-d .