---
name: "__gnu_cxx::_Rope_RopeLeaf"
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_RopeLeaf"
---

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

## NAME

\_\_gnu\_cxx::\_Rope\_RopeLeaf -

## SYNOPSIS

Inherits **\_Rope\_RopeRep\< \_CharT, \_Alloc \>**.

## Detailed Description

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

Definition at line 656 of file rope.

### Public Types

enum { **\_S\_alloc\_granularity** }\
 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\_RopeLeaf** (\_\_GC\_CONST \_CharT \*\_\_d, size\_t \_\_size, **allocator\_type** \_\_a)\
 **allocator\_type** **get\_allocator** () const\
 **~\_Rope\_RopeLeaf** ()  throw ()\

### 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 size\_t **\_S\_rounded\_up\_size** (size\_t \_\_n)\
 static void **\_S\_unref** (**\_Rope\_RopeRep** \*\_\_t)\

### Public Attributes

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

### Protected Member Functions

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

## Author

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