[Issue 8129] Cannot deduce template function when using partially specified type in function parameter

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jun 6 04:27:00 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8129


Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Cannot deduce template      |Cannot deduce template
                   |function when inferring     |function when using
                   |labmda parameters over      |partially specified type in
                   |partially specialized IFTI  |function parameter
                   |call.                       |


--- Comment #3 from Kenji Hara <k.hara.pg at gmail.com> 2012-06-06 04:29:01 PDT ---
>From issue 8202:

void func(T, R)(R range, T value) {}

void main()
{
    ubyte[] buffer = [0, 1, 2];
    func!ushort(buffer, 915);
}

This is partially specialized template function problem.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list