Mercurial > projects > orange
comparison orange/util/CTFE.d @ 26:78e5fef4bbf2 experimental
Third step in refactoring the API. Stating to add unit tests.
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Tue, 19 Oct 2010 10:22:10 +0200 |
parents | ea37a9470e3e |
children | 511d1ef4e299 |
comparison
equal
deleted
inserted
replaced
25:b51e953f79eb | 26:78e5fef4bbf2 |
---|---|
4 * Version: Initial created: Jan 26, 2010 | 4 * Version: Initial created: Jan 26, 2010 |
5 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0) | 5 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0) |
6 */ | 6 */ |
7 module orange.util.CTFE; | 7 module orange.util.CTFE; |
8 | 8 |
9 import orange.util.string; | 9 import orange.core.string; |
10 import orange.util.Traits; | 10 import orange.util.Traits; |
11 | 11 |
12 template format (ARGS...) | 12 template format (ARGS...) |
13 { | 13 { |
14 static if (ARGS.length == 0) | 14 static if (ARGS.length == 0) |