Changes between Initial Version and Version 1 of Ticket #2127, comment 10
- Timestamp:
- Sep 12, 2013, 10:16:26 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2127, comment 10
initial v1 6 6 If you take a look at VC++ std::string, it doesn't have any COW semantics. GCC std::string has just an extra pointer indirection, but behind the scenes the real string object is implemented roughly as: 7 7 {{{ 8 class st d::string {8 class string { 9 9 size_t m_Length; 10 10 char* m_Pointer;