logoalt Hacker News

grg0 • yesterday at 9:31 PM • 2 replies • view on HN

> pre<std::contracts::controls::enforced>(x > 0)

Ho-lee, guys. We just needed pre(x > 0)


Replies

andrewjf • yesterday at 9:37 PM

Yeah but why wouldn't "x" be a type that could only represent positive integers?

➕ show 3 replies
morcatabiew • yesterday at 11:22 PM

[dead]