diff options
author | Ralph Amissah <ralph@amissah.com> | 2017-01-23 17:17:47 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:14 -0400 |
commit | 334bb9c301bb72d5331a2e9e067211c18e5f7c69 (patch) | |
tree | 914d539ce4f228103da8bf465cbcf61a71f96498 /src/sdp/source_sisupod.d | |
parent | template, document head & body (diff) |
templates
Diffstat (limited to 'src/sdp/source_sisupod.d')
-rw-r--r-- | src/sdp/source_sisupod.d | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/sdp/source_sisupod.d b/src/sdp/source_sisupod.d index 3cd5b94..20e0ef1 100644 --- a/src/sdp/source_sisupod.d +++ b/src/sdp/source_sisupod.d @@ -1,9 +1,12 @@ template SiSUpod() { struct SDPsisupod { - void sisupod_assemble( - string fn_src, + void sisupod_assemble(S)( + S fn_src, ) { + debug(asserts){ + static assert(is(typeof(fn_src) == string)); + } mixin SiSUpaths; auto pth_sisupod = SiSUpodPaths(); mixin SiSUlanguageCodes; |