[Issue 7878] A problem with purity and general templated algorithms

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 10 03:31:57 PDT 2012


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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|DMD                         |Phobos


--- Comment #1 from Kenji Hara <k.hara.pg at gmail.com> 2012-04-10 03:32:39 PDT ---
It is std.functional.binaryFun and std.algorithm.sort problem, not compiler's.

If the instantiation of predicate "a < b" that given to sort template function
is failed, they hide actual errors and instead print their own error messages
by static assert.

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