Namespaces | Classes | Typedefs | Enumerations | Functions | Variables

__gnu_cxx Namespace Reference

GNU extensions for public use. More...

Namespaces

Classes

Typedefs

Enumerations

Functions

Variables


Detailed Description

GNU extensions for public use.


Function Documentation

template<typename _ToType , typename _FromType >
_ToType __gnu_cxx::__static_pointer_cast ( const _FromType &  __arg  )  [inline]

Casting operations for cases where _FromType is not a standard pointer. _ToType can be a standard or non-standard pointer. Given that _FromType is not a pointer, it must have a get() method that returns the standard pointer equivalent of the address it points to, and must have an element_type typedef which names the type it points to.

Definition at line 61 of file cast.h.

References __static_pointer_cast().

Referenced by __static_pointer_cast().

template<typename _ToType , typename _FromType >
_ToType __gnu_cxx::__static_pointer_cast ( _FromType *  __arg  )  [inline]

Casting operations for cases where _FromType is a standard pointer. _ToType can be a standard or non-standard pointer.

Definition at line 89 of file cast.h.

References __static_pointer_cast().

size_t __gnu_cxx::_Bit_scan_forward ( size_t  __num  )  [inline]

Generic Version of the bsf instruction.

Definition at line 513 of file bitmap_allocator.h.

Referenced by __gnu_cxx::bitmap_allocator< _Tp >::_M_allocate_single_object().

template<typename _CharT , typename _Traits , typename _Alloc , template< typename, typename, typename > class _Base>
bool __gnu_cxx::operator!= ( const _CharT *  __lhs,
const __versa_string< _CharT, _Traits, _Alloc, _Base > &  __rhs 
) [inline]

Test difference of C string and string.

Parameters:
__lhs C string.
__rhs String.
Returns:
True if __rhs.compare(__lhs) != 0. False otherwise.

Definition at line 2175 of file vstring.h.

template<typename _CharT , typename _Traits , typename _Alloc , template< typename, typename, typename > class _Base>
bool __gnu_cxx::operator!= ( const __versa_string< _CharT, _Traits, _Alloc, _Base > &  __lhs,
const __versa_string< _CharT, _Traits, _Alloc, _Base > &  __rhs 
) [inline]

Test difference of two strings.

Parameters:
__lhs First string.
__rhs Second string.
Returns:
True if __lhs.compare(__rhs) != 0. False otherwise.

Definition at line 2162 of file vstring.h.

template<typename _CharT , typename _Traits , typename _Alloc , template< typename, typename, typename > class _Base>
bool __gnu_cxx::operator!= ( const __versa_string< _CharT, _Traits, _Alloc, _Base > &  __lhs,
const _CharT *  __rhs 
) [inline]

Test difference of string and C string.

Parameters:
__lhs String.
__rhs C string.
Returns:
True if __lhs.compare(__rhs) != 0. False otherwise.

Definition at line 2188 of file vstring.h.

template<typename _CharT , typename _Traits , typename _Alloc , template< typename, typename, typename > class _Base>
__versa_string< _CharT, _Traits, _Alloc, _Base > __gnu_cxx::operator+ ( const __versa_string< _CharT, _Traits, _Alloc, _Base > &  __lhs,
_CharT  __rhs 
)
template<typename _CharT , typename _Traits , typename _Alloc , template< typename, typename, typename > class _Base>
__versa_string< _CharT, _Traits, _Alloc, _Base > __gnu_cxx::operator+ ( const __versa_string< _CharT, _Traits, _Alloc, _Base > &  __lhs,
const __versa_string< _CharT, _Traits, _Alloc, _Base > &  __rhs 
)

Concatenate two strings.

Parameters:
__lhs First string.
__rhs Last string.
Returns:
New string with value of __lhs followed by __rhs.

Definition at line 179 of file vstring.tcc.

References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::append(), __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::reserve(), and __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::size().

template<typename _CharT , typename _Traits , typename _Alloc , template< typename, typename, typename > class _Base>
__versa_string< _CharT, _Traits, _Alloc, _Base > __gnu_cxx::operator+ ( const _CharT *  __lhs,
const __versa_string< _CharT, _Traits, _Alloc, _Base > &  __rhs 
)

Concatenate C string and string.

Parameters:
__lhs First string.
__rhs Last string.
Returns:
New string with value of __lhs followed by __rhs.

Definition at line 192 of file vstring.tcc.

References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::size().

template<typename _CharT , typename _Traits , typename _Alloc , template< typename, typename, typename > class _Base>
__versa_string< _CharT, _Traits, _Alloc, _Base > __gnu_cxx::operator+ ( _CharT  __lhs,
const __versa_string< _CharT, _Traits, _Alloc, _Base > &  __rhs 
)
template<typename _CharT , typename _Traits , typename _Alloc , template< typename, typename, typename > class _Base>
__versa_string< _CharT, _Traits, _Alloc, _Base > __gnu_cxx::operator+ ( const __versa_string< _CharT, _Traits, _Alloc, _Base > &  __lhs,
const _CharT *  __rhs 
)

Concatenate string and C string.

Parameters:
__lhs First string.
__rhs Last string.
Returns:
New string with __lhs followed by __rhs.

Definition at line 222 of file vstring.tcc.

References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::size().

template<typename _CharT , typename _Traits , typename _Alloc , template< typename, typename, typename > class _Base>
bool __gnu_cxx::operator< ( const _CharT *  __lhs,
const __versa_string< _CharT, _Traits, _Alloc, _Base > &  __rhs 
) [inline]

Test if C string precedes string.

Parameters:
__lhs C string.
__rhs String.
Returns:
True if __lhs precedes __rhs. False otherwise.

Definition at line 2228 of file vstring.h.

References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::compare().

template<typename _CharT , typename _Traits , typename _Alloc , template< typename, typename, typename > class _Base>
bool __gnu_cxx::operator< ( const __versa_string< _CharT, _Traits, _Alloc, _Base > &  __lhs,
const _CharT *  __rhs 
) [inline]

Test if string precedes C string.

Parameters:
__lhs String.
__rhs C string.
Returns:
True if __lhs precedes __rhs. False otherwise.

Definition at line 2215 of file vstring.h.

template<typename _CharT , typename _Traits , typename _Alloc , template< typename, typename, typename > class _Base>
bool __gnu_cxx::operator< ( const __versa_string< _CharT, _Traits, _Alloc, _Base > &  __lhs,
const __versa_string< _CharT, _Traits, _Alloc, _Base > &  __rhs 
) [inline]

Test if string precedes string.

Parameters:
__lhs First string.
__rhs Second string.
Returns:
True if __lhs precedes __rhs. False otherwise.

Definition at line 2202 of file vstring.h.

template<typename _CharT , typename _Traits , typename _Alloc , template< typename, typename, typename > class _Base>
bool __gnu_cxx::operator<= ( const _CharT *  __lhs,
const __versa_string< _CharT, _Traits, _Alloc, _Base > &  __rhs 
) [inline]

Test if C string doesn't follow string.

Parameters:
__lhs C string.
__rhs String.
Returns:
True if __lhs doesn't follow __rhs. False otherwise.

Definition at line 2308 of file vstring.h.

References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::compare().

template<typename _CharT , typename _Traits , typename _Alloc , template< typename, typename, typename > class _Base>
bool __gnu_cxx::operator<= ( const __versa_string< _CharT, _Traits, _Alloc, _Base > &  __lhs,
const __versa_string< _CharT, _Traits, _Alloc, _Base > &  __rhs 
) [inline]

Test if string doesn't follow string.

Parameters:
__lhs First string.
__rhs Second string.
Returns:
True if __lhs doesn't follow __rhs. False otherwise.

Definition at line 2282 of file vstring.h.

template<typename _CharT , typename _Traits , typename _Alloc , template< typename, typename, typename > class _Base>
bool __gnu_cxx::operator<= ( const __versa_string< _CharT, _Traits, _Alloc, _Base > &  __lhs,
const _CharT *  __rhs 
) [inline]

Test if string doesn't follow C string.

Parameters:
__lhs String.
__rhs C string.
Returns:
True if __lhs doesn't follow __rhs. False otherwise.

Definition at line 2295 of file vstring.h.

template<typename _Tp >
bool __gnu_cxx::operator== ( const _Pointer_adapter< _Tp > &  __lhs,
const _Pointer_adapter< _Tp > &  __rhs 
) [inline]

Comparison operators for _Pointer_adapter defer to the base class'es comparison operators, when possible.

Definition at line 529 of file pointer.h.

template<typename _CharT , typename _Traits , typename _Alloc , template< typename, typename, typename > class _Base>
bool __gnu_cxx::operator== ( const __versa_string< _CharT, _Traits, _Alloc, _Base > &  __lhs,
const _CharT *  __rhs 
) [inline]

Test equivalence of string and C string.

Parameters:
__lhs String.
__rhs C string.
Returns:
True if __lhs.compare(__rhs) == 0. False otherwise.

Definition at line 2148 of file vstring.h.

References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::compare().

template<typename _CharT , typename _Traits , typename _Alloc , template< typename, typename, typename > class _Base>
bool __gnu_cxx::operator== ( const __versa_string< _CharT, _Traits, _Alloc, _Base > &  __lhs,
const __versa_string< _CharT, _Traits, _Alloc, _Base > &  __rhs 
) [inline]

Test equivalence of two strings.

Parameters:
__lhs First string.
__rhs Second string.
Returns:
True if __lhs.compare(__rhs) == 0. False otherwise.

Definition at line 2111 of file vstring.h.

References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::compare().

template<typename _CharT , typename _Traits , typename _Alloc , template< typename, typename, typename > class _Base>
bool __gnu_cxx::operator== ( const _CharT *  __lhs,
const __versa_string< _CharT, _Traits, _Alloc, _Base > &  __rhs 
) [inline]

Test equivalence of C string and string.

Parameters:
__lhs C string.
__rhs String.
Returns:
True if __rhs.compare(__lhs) == 0. False otherwise.

Definition at line 2135 of file vstring.h.

References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::compare().

template<typename _CharT , typename _Traits , typename _Alloc , template< typename, typename, typename > class _Base>
bool __gnu_cxx::operator> ( const __versa_string< _CharT, _Traits, _Alloc, _Base > &  __lhs,
const _CharT *  __rhs 
) [inline]

Test if string follows C string.

Parameters:
__lhs String.
__rhs C string.
Returns:
True if __lhs follows __rhs. False otherwise.

Definition at line 2255 of file vstring.h.

References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::compare().

template<typename _CharT , typename _Traits , typename _Alloc , template< typename, typename, typename > class _Base>
bool __gnu_cxx::operator> ( const _CharT *  __lhs,
const __versa_string< _CharT, _Traits, _Alloc, _Base > &  __rhs 
) [inline]

Test if C string follows string.

Parameters:
__lhs C string.
__rhs String.
Returns:
True if __lhs follows __rhs. False otherwise.

Definition at line 2268 of file vstring.h.

References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::compare().

template<typename _CharT , typename _Traits , typename _Alloc , template< typename, typename, typename > class _Base>
bool __gnu_cxx::operator> ( const __versa_string< _CharT, _Traits, _Alloc, _Base > &  __lhs,
const __versa_string< _CharT, _Traits, _Alloc, _Base > &  __rhs 
) [inline]

Test if string follows string.

Parameters:
__lhs First string.
__rhs Second string.
Returns:
True if __lhs follows __rhs. False otherwise.

Definition at line 2242 of file vstring.h.

References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::compare().

template<typename _CharT , typename _Traits , typename _Alloc , template< typename, typename, typename > class _Base>
bool __gnu_cxx::operator>= ( const __versa_string< _CharT, _Traits, _Alloc, _Base > &  __lhs,
const __versa_string< _CharT, _Traits, _Alloc, _Base > &  __rhs 
) [inline]

Test if string doesn't precede string.

Parameters:
__lhs First string.
__rhs Second string.
Returns:
True if __lhs doesn't precede __rhs. False otherwise.

Definition at line 2322 of file vstring.h.

References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::compare().

template<typename _CharT , typename _Traits , typename _Alloc , template< typename, typename, typename > class _Base>
bool __gnu_cxx::operator>= ( const _CharT *  __lhs,
const __versa_string< _CharT, _Traits, _Alloc, _Base > &  __rhs 
) [inline]

Test if C string doesn't precede string.

Parameters:
__lhs C string.
__rhs String.
Returns:
True if __lhs doesn't precede __rhs. False otherwise.

Definition at line 2348 of file vstring.h.

References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::compare().

template<typename _CharT , typename _Traits , typename _Alloc , template< typename, typename, typename > class _Base>
bool __gnu_cxx::operator>= ( const __versa_string< _CharT, _Traits, _Alloc, _Base > &  __lhs,
const _CharT *  __rhs 
) [inline]

Test if string doesn't precede C string.

Parameters:
__lhs String.
__rhs C string.
Returns:
True if __lhs doesn't precede __rhs. False otherwise.

Definition at line 2335 of file vstring.h.

References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::compare().

template<typename _CharT , typename _Traits , typename _Alloc , template< typename, typename, typename > class _Base>
void __gnu_cxx::swap ( __versa_string< _CharT, _Traits, _Alloc, _Base > &  __lhs,
__versa_string< _CharT, _Traits, _Alloc, _Base > &  __rhs 
) [inline]

Swap contents of two strings.

Parameters:
__lhs First string.
__rhs Second string.

Exchanges the contents of __lhs and __rhs in constant time.

Definition at line 2362 of file vstring.h.

References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::swap().