https://issues.dlang.org/show_bug.cgi?id=17284
--- Comment #3 from ZombineDev <[email protected]> --- So it seems that the bug has to do with the @safe-ty inference on template functions, since the code does not compile if the function template is explicitly marked with @safe. --
