[Issue 12489] std.bitmanip byte swapping routines should be partially instantiable
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Mar 29 13:01:10 PDT 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12489
Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
--- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2014-03-29 21:01:05 CET ---
(In reply to comment #1)
> Here's a somewhat generic wrapper workaround:
>
> -----
> template PartialTempl(alias templ, T...)
> {
> auto PartialTempl(Args...)(auto ref Args args)
> {
> return templ!T(args);
> }
> }
> -----
This solves it for me.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list