---
name: "__gnu_cxx::_Rope_RopeRep"
section: "3"
platform: "linux"
package: "libstdc++6-4.1-doc"
version: "4.1.1-21"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/__gnu_cxx::_Rope_RopeRep"
---

# \_\_gnu\_cxx::\_Rope\_RopeRep(3)

## NAME

\_\_gnu\_cxx::\_Rope\_RopeRep -

## SYNOPSIS

Inherits **\_Rope\_rep\_base\< \_CharT, \_Alloc \>**, and **\_Refcount\_Base**.

Inherited by **\_Rope\_RopeConcatenation**, **\_Rope\_RopeFunction**, and **\_Rope\_RopeLeaf**.

## Detailed Description

### template\<class \_CharT, class \_Alloc\> struct \_\_gnu\_cxx::\_Rope\_RopeRep\< \_CharT, \_Alloc \>

Definition at line 553 of file rope.

### Public Types

typedef **\_Rope\_rep\_base**\< \_CharT, \_Alloc \>::**allocator\_type** **allocator\_type**\

### Public Member Functions

void **\_M\_free\_c\_string** ()\
 void **\_M\_free\_tree** ()\
 void **\_M\_ref\_nonnil** ()\
 void **\_M\_unref\_nonnil** ()\
 **\_Rope\_RopeRep** (**\_Rope\_constants::\_Tag** \_\_t, int \_\_d, bool \_\_b, size\_t \_\_size, **allocator\_type** \_\_a)\
 **allocator\_type** **get\_allocator** () const\

### Static Public Member Functions

static void **\_S\_free\_if\_unref** (**\_Rope\_RopeRep** \*\_\_t)\
 static void **\_S\_free\_string** (\_\_GC\_CONST \_CharT \*, size\_t \_\_len, **allocator\_type** \_\_a)\
 static void **\_S\_ref** (**\_Rope\_RopeRep** \*\_\_t)\
 static void **\_S\_unref** (**\_Rope\_RopeRep** \*\_\_t)\

### Public Attributes

\_\_GC\_CONST \_CharT \* **\_M\_c\_string**\
 \_\_gthread\_mutex\_t **\_M\_c\_string\_lock**\
 unsigned char **\_M\_depth**\
 bool **\_M\_is\_balanced**:8\
 size\_t **\_M\_size**\
 **\_Rope\_constants::\_Tag** **\_M\_tag**:8\

### Protected Member Functions

**\_Rope\_RopeRep** (const **\_Rope\_RopeRep** &)\
 **\_Rope\_RopeRep** & **operator=** (const **\_Rope\_RopeRep** &)\

## Author

Generated automatically by Doxygen for libstdc++ from the source code.
