Y
Hacker News
new
|
ask
|
show
|
jobs
by
deltaonenine
1430 days ago
just pass a const reference. It's immutable anyway.
1 comments
Akronymus
1430 days ago
Unless that ref holds a mutable reference. C++ doesnt make it easy at all to have something be truly immutable.
link