libstdc++: string File Reference

libstdc++

string File Reference

Go to the source code of this file.

## Classes
class | __gnu_debug::basic_string< _CharT, _Traits, _Allocator >
struct | std::hash< __gnu_debug::basic_string< _CharT > >

## Namespaces
namespace | __gnu_debug
namespace | std

## Macros
#define | __glibcxx_check_string(_String)
#define | __glibcxx_check_string_constructor(_Str)
#define | __glibcxx_check_string_len(_String, _Len)
#define | __glibcxx_check_string_n_constructor(_Str, _Size)
#define | _GLIBCXX_DEBUG_STRING
#define | _GLIBCXX_DEBUG_VERIFY_STR_COND_AT(_Cond, _File, _Line, _Func)
#define | _GLIBCXX_INSERT_RETURNS_ITERATOR
#define | _GLIBCXX_INSERT_RETURNS_ITERATOR_ONLY(expr)

## Typedefs
typedef basic_string< char > | __gnu_debug::string
typedef basic_string< char16_t > | __gnu_debug::u16string
typedef basic_string< char32_t > | __gnu_debug::u32string
typedef basic_string< wchar_t > | __gnu_debug::wstring

## Functions
template<typename _CharT, typename _Integer>
const _CharT * | __gnu_debug::__check_string (const _CharT *__s, _Integer __n, const char *__file, unsigned int __line, const char *__function)
template<typename _CharT>
const _CharT * | __gnu_debug::__check_string (const _CharT *__s, const char *__file, unsigned int __line, const char *__function)
template<typename _CharT, typename _Traits, typename _Allocator>
std::basic_istream< _CharT, _Traits > & | __gnu_debug::getline (std::basic_istream< _CharT, _Traits > &__is, basic_string< _CharT, _Traits, _Allocator > &__str)
template<typename _CharT, typename _Traits, typename _Allocator>
std::basic_istream< _CharT, _Traits > & | __gnu_debug::getline (std::basic_istream< _CharT, _Traits > &__is, basic_string< _CharT, _Traits, _Allocator > &__str, _CharT __delim)
template<typename _CharT, typename _Traits, typename _Allocator>
bool | __gnu_debug::operator!= (const _CharT *__lhs, const basic_string< _CharT, _Traits, _Allocator > &__rhs)
template<typename _CharT, typename _Traits, typename _Allocator>
bool | __gnu_debug::operator!= (const basic_string< _CharT, _Traits, _Allocator > &__lhs, const _CharT *__rhs)
template<typename _CharT, typename _Traits, typename _Allocator>
bool | __gnu_debug::operator!= (const basic_string< _CharT, _Traits, _Allocator > &__lhs, const basic_string< _CharT, _Traits, _Allocator > &__rhs)
template<typename _CharT, typename _Traits, typename _Allocator>
basic_string< _CharT, _Traits, _Allocator > | __gnu_debug::operator+ (_CharT __lhs, const basic_string< _CharT, _Traits, _Allocator > &__rhs)
template<typename _CharT, typename _Traits, typename _Allocator>
basic_string< _CharT, _Traits, _Allocator > | __gnu_debug::operator+ (const _CharT *__lhs, const basic_string< _CharT, _Traits, _Allocator > &__rhs)
template<typename _CharT, typename _Traits, typename _Allocator>
basic_string< _CharT, _Traits, _Allocator > | __gnu_debug::operator+ (const basic_string< _CharT, _Traits, _Allocator > &__lhs, _CharT __rhs)
template<typename _CharT, typename _Traits, typename _Allocator>
basic_string< _CharT, _Traits, _Allocator > | __gnu_debug::operator+ (const basic_string< _CharT, _Traits, _Allocator > &__lhs, const _CharT *__rhs)
template<typename _CharT, typename _Traits, typename _Allocator>
basic_string< _CharT, _Traits, _Allocator > | __gnu_debug::operator+ (const basic_string< _CharT, _Traits, _Allocator > &__lhs, const basic_string< _CharT, _Traits, _Allocator > &__rhs)
template<typename _CharT, typename _Traits, typename _Allocator>
bool | __gnu_debug::operator< (const _CharT *__lhs, const basic_string< _CharT, _Traits, _Allocator > &__rhs)
template<typename _CharT, typename _Traits, typename _Allocator>
bool | __gnu_debug::operator< (const basic_string< _CharT, _Traits, _Allocator > &__lhs, const _CharT *__rhs)
template<typename _CharT, typename _Traits, typename _Allocator>
bool | __gnu_debug::operator< (const basic_string< _CharT, _Traits, _Allocator > &__lhs, const basic_string< _CharT, _Traits, _Allocator > &__rhs)
template<typename _CharT, typename _Traits, typename _Allocator>
std::basic_ostream< _CharT, _Traits > & | __gnu_debug::operator<< (std::basic_ostream< _CharT, _Traits > &__os, const basic_string< _CharT, _Traits, _Allocator > &__str)
template<typename _CharT, typename _Traits, typename _Allocator>
bool | __gnu_debug::operator<= (const _CharT *__lhs, const basic_string< _CharT, _Traits, _Allocator > &__rhs)
template<typename _CharT, typename _Traits, typename _Allocator>
bool | __gnu_debug::operator<= (const basic_string< _CharT, _Traits, _Allocator > &__lhs, const _CharT *__rhs)
template<typename _CharT, typename _Traits, typename _Allocator>
bool | __gnu_debug::operator<= (const basic_string< _CharT, _Traits, _Allocator > &__lhs, const basic_string< _CharT, _Traits, _Allocator > &__rhs)
template<typename _CharT, typename _Traits, typename _Allocator>
bool | __gnu_debug::operator== (const _CharT *__lhs, const basic_string< _CharT, _Traits, _Allocator > &__rhs)
template<typename _CharT, typename _Traits, typename _Allocator>
bool | __gnu_debug::operator== (const basic_string< _CharT, _Traits, _Allocator > &__lhs, const _CharT *__rhs)
template<typename _CharT, typename _Traits, typename _Allocator>
bool | __gnu_debug::operator== (const basic_string< _CharT, _Traits, _Allocator > &__lhs, const basic_string< _CharT, _Traits, _Allocator > &__rhs)
template<typename _CharT, typename _Traits, typename _Allocator>
bool | __gnu_debug::operator> (const _CharT *__lhs, const basic_string< _CharT, _Traits, _Allocator > &__rhs)
template<typename _CharT, typename _Traits, typename _Allocator>
bool | __gnu_debug::operator> (const basic_string< _CharT, _Traits, _Allocator > &__lhs, const _CharT *__rhs)
template<typename _CharT, typename _Traits, typename _Allocator>
bool | __gnu_debug::operator> (const basic_string< _CharT, _Traits, _Allocator > &__lhs, const basic_string< _CharT, _Traits, _Allocator > &__rhs)
template<typename _CharT, typename _Traits, typename _Allocator>
bool | __gnu_debug::operator>= (const _CharT *__lhs, const basic_string< _CharT, _Traits, _Allocator > &__rhs)
template<typename _CharT, typename _Traits, typename _Allocator>
bool | __gnu_debug::operator>= (const basic_string< _CharT, _Traits, _Allocator > &__lhs, const _CharT *__rhs)
template<typename _CharT, typename _Traits, typename _Allocator>
bool | __gnu_debug::operator>= (const basic_string< _CharT, _Traits, _Allocator > &__lhs, const basic_string< _CharT, _Traits, _Allocator > &__rhs)
template<typename _CharT, typename _Traits, typename _Allocator>
std::basic_istream< _CharT, _Traits > & | __gnu_debug::operator>> (std::basic_istream< _CharT, _Traits > &__is, basic_string< _CharT, _Traits, _Allocator > &__str)
template<typename _CharT, typename _Traits, typename _Allocator>
void | __gnu_debug::swap (basic_string< _CharT, _Traits, _Allocator > &__lhs, basic_string< _CharT, _Traits, _Allocator > &__rhs)

## Detailed Description

This file is a GNU debug extension to the Standard C++ Library.

Definition in file debug/string.

## Macro Definition Documentation

## ◆ __glibcxx_check_string

#define __glibcxx_check_string | ( |  | _String | ) |

Definition at line 75 of file debug/string.

## ◆ __glibcxx_check_string_constructor

#define __glibcxx_check_string_constructor | ( |  | _Str | ) |

Definition at line 125 of file debug/string.

## ◆ __glibcxx_check_string_len

#define __glibcxx_check_string_len | ( |  | _String,
|  |  | _Len )

Definition at line 76 of file debug/string.

## ◆ __glibcxx_check_string_n_constructor

#define __glibcxx_check_string_n_constructor | ( |  | _Str,
|  |  | _Size )

Definition at line 122 of file debug/string.

## ◆ _GLIBCXX_DEBUG_STRING

#define _GLIBCXX_DEBUG_STRING

Definition at line 30 of file debug/string.

## ◆ _GLIBCXX_DEBUG_VERIFY_STR_COND_AT

#define _GLIBCXX_DEBUG_VERIFY_STR_COND_AT | ( |  | _Cond,
|  |  | _File,
|  |  | _Line,
|  |  | _Func )

Definition at line 41 of file debug/string.

## ◆ _GLIBCXX_INSERT_RETURNS_ITERATOR

#define _GLIBCXX_INSERT_RETURNS_ITERATOR

Definition at line 47 of file debug/string.

## ◆ _GLIBCXX_INSERT_RETURNS_ITERATOR_ONLY

#define _GLIBCXX_INSERT_RETURNS_ITERATOR_ONLY | ( |  | expr | ) |

Definition at line 48 of file debug/string.