Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
widdershins
· 11mo ago · 0 comments
I don't find that convention unusual. That's how I (and everyone at my company) writes code every day. If an argument is a pointer, that means it may be null. If it may not be null, it should be a reference.
Comments
[–]
amelius
11mo ago
And the libraries that you use?
E.g.,
std::size_t std::strlen(const char* str);