Fun with templates
monarch_dodra
monarchdodra at gmail.com
Sat Jul 6 01:45:34 PDT 2013
On Saturday, 6 July 2013 at 08:42:45 UTC, monarch_dodra wrote:
> On Saturday, 6 July 2013 at 01:35:09 UTC, Manu wrote:
>> Okay, so I feel like this should be possible, but I can't make
>> it work...
>> I want to use template deduction to deduce the argument type,
>> but I want
>> the function arg to be Unqual!T of the deduced type, rather
>> than the
>> verbatim type of the argument given.
> You could just forward to an implementation template, passing
> explicitly the arguments.
Hum.. just realized you explicitly wanted to do this via template
deduction. I'm not sure then :/ Sorry. Hope my workaround will be
useful for you? Chances are you probably already had it worked
out.
More information about the Digitalmars-d
mailing list