[Issue 10039] std.algorithm enhancements: min, max, clamp

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 21 06:50:30 PDT 2013


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


qznc at web.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |qznc at web.de


--- Comment #1 from qznc at web.de 2013-06-21 06:50:29 PDT ---
How does that unary min/max variant come up?

With regard to clamp, there is also the question if it can/should be variadic?

clamp(a,b,c,d) =?= max(a,min(b,max(c,d)))

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