std::basic_string< CharT, Traits, Alloc >::Rep Struct Reference

Inheritance diagram for std::basic_string< CharT, Traits, Alloc >::Rep:

Inheritance graph
[legend]
Collaboration diagram for std::basic_string< CharT, Traits, Alloc >::Rep:

Collaboration graph
[legend]
List of all members.

Public Types

typedef Alloc::template rebind<
char >::other 
Raw_bytes_alloc

Public Member Functions

bool M_is_leaked () const
bool M_is_shared () const
void M_set_leaked ()
void M_set_sharable ()
CharT * M_refdata () throw ()
CharT * M_grab (const Alloc &alloc1, const Alloc &alloc2)
void M_dispose (const Alloc &a)
void M_destroy (const Alloc &) throw ()
CharT * M_refcopy () throw ()
CharT * M_clone (const Alloc &, size_type __res=0)

Static Public Member Functions

static RepS_empty_rep ()
static RepS_create (size_type, size_type, const Alloc &)

Public Attributes

size_type M_length
size_type M_capacity
Atomic_word M_refcount

Static Public Attributes

static const size_type S_max_size
static const CharT S_terminal
static size_type S_empty_rep_storage []

Detailed Description

template<typename CharT, typename Traits, typename Alloc>
struct std::basic_string< CharT, Traits, Alloc >::Rep

Definition at line 151 of file basic_string.h.


The documentation for this struct was generated from the following files:
Generated on Mon Jan 1 22:32:25 2007 for libstdc++-v3 Source by  doxygen 1.5.1