[Issue 7680] template specialization bug
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Tue Feb 28 18:20:32 UTC 2023
    
    
  
https://issues.dlang.org/show_bug.cgi?id=7680
Nick Treleaven <nick at geany.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick at geany.org
--- Comment #1 from Nick Treleaven <nick at geany.org> ---
The error is:
> tempspecconst.d(14): Error: template `tempspecconst.Foo26` matches more than one template declaration:
> I'm not sure whether Bar!int should match Bar!(const T) in the first place.
Well this fails so I'd say no:
    Bar!int b;
    Bar!(const int) c = b;
--
    
    
More information about the Digitalmars-d-bugs
mailing list