8 ms·
just pass a const reference. It's immutable anyway.
by deltaonenine 4y ago
just pass a const reference. It's immutable anyway.
- Akronymus 4y agoUnless that ref holds a mutable reference. C++ doesnt make it easy at all to have something be truly immutable.
- deltaonenine 4y ago