Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
loeg
on Jan 2, 2023
|
parent
|
context
|
favorite
| on:
Adding design-by-contract conditions to C++ via a ...
Better to define a macro that evaluates to the contract/invariants on GCC and empty on other compilers, rather than copying the ifdef/else/endif logic around to every usage.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: