__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 ( _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().

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().

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

Generic Version of the bsf instruction.

Definition at line 538 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 __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 2160 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 difference of C string and string.

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

Definition at line 2147 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 2134 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 
) [inline]

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 
) [inline]

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>
__versa_string< _CharT, _Traits, _Alloc, _Base > __gnu_cxx::operator+ ( _CharT  __lhs,
const __versa_string< _CharT, _Traits, _Alloc, _Base > &  __rhs 
) [inline]

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 
) [inline]

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+ ( const __versa_string< _CharT, _Traits, _Alloc, _Base > &  __lhs,
const __versa_string< _CharT, _Traits, _Alloc, _Base > &  __rhs 
) [inline]

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>
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 2200 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 2187 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 2174 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 2280 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 follow C string.

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

Definition at line 2267 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 doesn't follow string.

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

Definition at line 2254 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 equivalence of string and C string.

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

Definition at line 2120 of file vstring.h.

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

Referenced by std::locale::operator!=().

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 2107 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 2083 of file vstring.h.

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

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 515 of file pointer.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 follows string.

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

Definition at line 2240 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 2227 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 2214 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 2320 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 2307 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 2294 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 2334 of file vstring.h.

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


Generated on Thu Jul 23 21:17:18 2009 for libstdc++ by  doxygen 1.5.8