Changes between Initial Version and Version 1 of Ticket #2127, comment 10


Ignore:
Timestamp:
Sep 12, 2013, 10:16:26 PM (11 years ago)
Author:
Jorma Rebane

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2127, comment 10

    initial v1  
    66If 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:
    77{{{
    8 class std::string {
     8class string {
    99    size_t m_Length;
    1010    char* m_Pointer;