[Issue 9513] RedBlackTree excessively copies structs by value

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 14 15:17:58 PST 2013


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


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc


--- Comment #1 from bearophile_hugs at eml.cc 2013-02-14 15:17:57 PST ---
The second program gives me:

temp.d(28): Error: template instance RedBlackTree!(element, lessfun)
RedBlackTree!(element, lessfun) does not match template declaration
RedBlackTree(T, alias less = "a < b", bool allowDuplicates = false) if
(is(typeof(binaryFun!(less)(T.init, T.init))))

-- 
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