Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
crystalgiver
· 11y ago · 0 comments
Interesting approach, this is how I do it:
cc -std=c++14
No preprocessor necessary! Also it checks the type of both arguments.
Comments
[–]
ambrop7
11y ago
Indeed. No need to use "complex" features like RAII/RTTI/exceptions. Generally, I see features like classes, overloading and templates as "compatible" with C-style coding.