[Issue 7019] implicit constructors are inconsistently allowed
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Nov 26 16:50:54 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=7019
--- Comment #1 from Trass3r <mrmocool at gmx.de> 2011-11-26 16:49:56 PST ---
Especially the function argument one bugs me.
I have a vector struct templated on the number type. It is instantiated with a
handful of basic types like float, int etc. and a custom fixed-point number
struct.
This single 'outlier' requires me to introduce yet another template that
handles the conversion from a number literal to fixed-point or basic type and
clutters the code.
--
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