Viewing profile — cdmh
cdmh
HN member- Joined
- Mon, Aug 20, 2012, 12:00 PM UTC
- HN karma
- 82
- Public activity
- 32 items
- HN profile
- View on Hacker News ↗
About cdmh
Recent public activity
- story
- story
- story
- story
- story
-
comment
Comment #6490683
Documentation is at http://www.boost.org/users/history/version_1_55_0.html
- story
- story
- story
-
comment
Comment #6424149
21.4.1 p6 states invalidation of iterators/references is only allowed for — as an argument to any standard library function taking a reference to non-const basic_string as an argum…
-
comment
Comment #6423828
The class is movable already. Reference counting will allow a copy constructor or copy assignment to avoid copying the string object, just increase the reference count.
-
comment
Comment #6423766
COW is prohibited in C++11 Standard implementations of std::basic_string
-
comment
Comment #6423534
That is accurate. The object reference by immutable msg is hello_world which is mutable. If the value of hello_world changes, then the value of msg changes too. In the simple examp…
-
comment
Comment #6423477
Hi Alex, you say I "claim[s] that objects accessed via reference to const can modify themselves". Which paragraph are you referring to? It don't see that? I'm happy to update the a…
-
comment
Comment #6423405
I'm toying with implementing O(1) copies by using a reference counted pointer to basic_string instead of storing it by value within the class. It would mean a small memory overhead…
-
comment
Comment #6423359
I had a problem with the traffic volumes! It's back now, and stable. I don't mention Java ;)
- comment
- story
- story
- story
- story
- story
- story
- story
- story