Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
slavik81
on Sept 12, 2019
|
parent
|
context
|
favorite
| on:
Immer is a library of persistent and immutable dat...
I mean that CoW classes like Qt's QStringList do the same data sharing without being immutable.
slavik81
on Sept 13, 2019
[–]
Admittedly, it's pretty easy to accidentally make unnecessary non-const accesses in modern C++. An immutable API would certainly avoid a lot of qAsConst casts.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: