NCBI C++ ToolKit
Classes | Macros | Functions | Variables
stlp_defs.hpp File Reference
#include <corelib/ncbistl.hpp>
#include <iterator>
#include <algorithm>
#include <functional>
#include <vector>
#include <corelib/hash_impl/_hash_fun.h>
#include <corelib/hash_impl/_hashtable.h>
#include <corelib/hash_impl/_hashtable.c>
+ Include dependency graph for stlp_defs.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

struct  _STLP_Identity< _Tp >
 
struct  _Nonconst_traits< _Tp >
 
struct  _Const_traits< _Tp >
 
struct  _Nonconst_traits< _Tp >
 
struct  _Alloc_traits< _Tp, _Allocator >
 
class  _STLP_alloc_proxy< _Value, _Tp, _MaybeReboundAlloc >
 
struct  hash< const string >
 
struct  hash< string >
 

Macros

#define _STLP_STATIC_TEMPLATE_DATA   1
 
#define _STLP_LINK_TIME_INSTANTIATION
 
#define _STLP_USE_EXCEPTIONS
 
#define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION
 
#define _STLP_USE_SEPARATE_RELOPS_NAMESPACE
 
#define _STLP_INTERNAL_VECTOR_H
 
#define _STLP_INTERNAL_ITERATOR_H
 
#define _STLP_INTERNAL_FUNCTION_H
 
#define _STLP_INTERNAL_ALGOBASE_H
 
#define _STLP_BEGIN_NAMESPACE   BEGIN_NCBI_SCOPE
 
#define _STLP_END_NAMESPACE   END_NCBI_SCOPE
 
#define _STLP_STD   std
 
#define _STLP_CALL
 
#define _STLP_FIX_LITERAL_BUG(x)
 
#define __WORKAROUND_RENAME(X)   X
 
#define _STLP_PLACEMENT_NEW   new
 
#define __STATIC_CAST(__x, __y)   static_cast<__x>(__y)
 
#define __REINTERPRET_CAST(__x, __y)   reinterpret_cast<__x>(__y)
 
#define _STLP_TEMPLATE_NULL   EMPTY_TEMPLATE
 
#define _STLP_TEMPLATE   template
 
#define _STLP_TYPENAME_ON_RETURN_TYPE   typename
 
#define __vector__   vector
 
#define _STLP_FORCE_ALLOCATORS(a, y)
 
#define _STLP_CONVERT_ALLOCATOR(__a, _Tp)   __a
 
#define _STLP_TRY   try
 
#define _STLP_UNWIND(action)   catch(...) { action; throw; }
 
#define __TRIVIAL_CONSTRUCTOR(__type)
 
#define __TRIVIAL_DESTRUCTOR(__type)
 
#define __TRIVIAL_STUFF(__type)   __TRIVIAL_CONSTRUCTOR(__type) __TRIVIAL_DESTRUCTOR(__type)
 
#define _STLP_DEFINE_ARROW_OPERATOR   pointer operator->() const { return &(operator*()); }
 
#define __DFL_TMPL_PARAM(classname, defval)   class classname = defval
 
#define _STLP_DEFAULT_PAIR_ALLOCATOR_SELECT(_Key, _Tp)   class _Alloc = allocator< pair < _Key, _Tp > >
 
#define _STLP_DEFAULT_ALLOCATOR_SELECT(_Tp)   __DFL_TMPL_PARAM(_Alloc, allocator< _Tp >)
 
#define _STLP_DEFAULT_PAIR_ALLOCATOR_SELECT(_Key, _Tp)   class _Alloc = allocator< pair < _Key, _Tp > >
 
#define __lower_bound(b, e, v, c, d)   lower_bound(b,e,v,c)
 
#define _STLP_DEBUG_UNINITIALIZED
 
#define _STLP_SHRED_BYTE   0xA3
 
#define _STLP_SELECT1ST(__x, __y)   _Select1st< __x >
 
#define NCBI_USE_STRING_HASH_FUNC__NCBI
 
#define ALLOCATOR(T)   allocator<T>
 

Functions

template<class _Tp >
less< _Tp > _stlp_less (_Tp *)
 
template<class _Tp1 , class _Tp2 >
allocator< _Tp2 > & __stl_alloc_rebind (allocator< _Tp1 > &__a, const _Tp2 *)
 
template<class _Tp1 , class _Tp2 >
allocator< _Tp2 > __stl_alloc_create (const allocator< _Tp1 > &, const _Tp2 *)
 
size_t __stl_hash_string (const char *__s, size_t __l)
 

Variables

 NCBI_USING_NAMESPACE_STD
 

Macro Definition Documentation

#define __DFL_TMPL_PARAM (   classname,
  defval 
)    class classname = defval

Definition at line 147 of file stlp_defs.hpp.

#define __lower_bound (   b,
  e,
  v,
  c,
 
)    lower_bound(b,e,v,c)
#define __REINTERPRET_CAST (   __x,
  __y 
)    reinterpret_cast<__x>(__y)

Definition at line 124 of file stlp_defs.hpp.

#define __STATIC_CAST (   __x,
  __y 
)    static_cast<__x>(__y)
#define __TRIVIAL_CONSTRUCTOR (   __type)

Definition at line 137 of file stlp_defs.hpp.

#define __TRIVIAL_DESTRUCTOR (   __type)

Definition at line 138 of file stlp_defs.hpp.

#define __TRIVIAL_STUFF (   __type)    __TRIVIAL_CONSTRUCTOR(__type) __TRIVIAL_DESTRUCTOR(__type)

Definition at line 139 of file stlp_defs.hpp.

#define __vector__   vector

Definition at line 128 of file stlp_defs.hpp.

#define __WORKAROUND_RENAME (   X)    X

Definition at line 121 of file stlp_defs.hpp.

#define _STLP_BEGIN_NAMESPACE   BEGIN_NCBI_SCOPE

Definition at line 116 of file stlp_defs.hpp.

#define _STLP_CALL

Definition at line 119 of file stlp_defs.hpp.

Referenced by __WORKAROUND_RENAME().

#define _STLP_CONVERT_ALLOCATOR (   __a,
  _Tp 
)    __a
#define _STLP_DEBUG_UNINITIALIZED

Definition at line 220 of file stlp_defs.hpp.

#define _STLP_DEFAULT_ALLOCATOR_SELECT (   _Tp)    __DFL_TMPL_PARAM(_Alloc, allocator< _Tp >)

Definition at line 152 of file stlp_defs.hpp.

#define _STLP_DEFAULT_PAIR_ALLOCATOR_SELECT (   _Key,
  _Tp 
)    class _Alloc = allocator< pair < _Key, _Tp > >

Definition at line 154 of file stlp_defs.hpp.

#define _STLP_DEFAULT_PAIR_ALLOCATOR_SELECT (   _Key,
  _Tp 
)    class _Alloc = allocator< pair < _Key, _Tp > >

Definition at line 154 of file stlp_defs.hpp.

#define _STLP_DEFINE_ARROW_OPERATOR   pointer operator->() const { return &(operator*()); }

Definition at line 143 of file stlp_defs.hpp.

#define _STLP_END_NAMESPACE   END_NCBI_SCOPE

Definition at line 117 of file stlp_defs.hpp.

#define _STLP_FIX_LITERAL_BUG (   x)
#define _STLP_FORCE_ALLOCATORS (   a,
 
)

Definition at line 129 of file stlp_defs.hpp.

#define _STLP_INTERNAL_ALGOBASE_H

Definition at line 106 of file stlp_defs.hpp.

#define _STLP_INTERNAL_FUNCTION_H

Definition at line 105 of file stlp_defs.hpp.

#define _STLP_INTERNAL_ITERATOR_H

Definition at line 104 of file stlp_defs.hpp.

#define _STLP_INTERNAL_VECTOR_H

Definition at line 103 of file stlp_defs.hpp.

#define _STLP_LINK_TIME_INSTANTIATION

Definition at line 90 of file stlp_defs.hpp.

#define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION

Definition at line 94 of file stlp_defs.hpp.

#define _STLP_PLACEMENT_NEW   new

Definition at line 122 of file stlp_defs.hpp.

#define _STLP_SELECT1ST (   __x,
  __y 
)    _Select1st< __x >

Definition at line 237 of file stlp_defs.hpp.

#define _STLP_SHRED_BYTE   0xA3

Definition at line 223 of file stlp_defs.hpp.

#define _STLP_STATIC_TEMPLATE_DATA   1

Definition at line 86 of file stlp_defs.hpp.

#define _STLP_STD   std

Definition at line 118 of file stlp_defs.hpp.

#define _STLP_TEMPLATE   template

Definition at line 126 of file stlp_defs.hpp.

#define _STLP_TEMPLATE_NULL   EMPTY_TEMPLATE

Definition at line 125 of file stlp_defs.hpp.

#define _STLP_TRY   try
#define _STLP_TYPENAME_ON_RETURN_TYPE   typename

Definition at line 127 of file stlp_defs.hpp.

#define _STLP_UNWIND (   action)    catch(...) { action; throw; }
#define _STLP_USE_EXCEPTIONS

Definition at line 91 of file stlp_defs.hpp.

#define _STLP_USE_SEPARATE_RELOPS_NAMESPACE

Definition at line 99 of file stlp_defs.hpp.

#define ALLOCATOR (   T)    allocator<T>

Definition at line 359 of file stlp_defs.hpp.

Referenced by __stl_alloc_create(), and __stl_alloc_rebind().

#define NCBI_USE_STRING_HASH_FUNC__NCBI

Definition at line 243 of file stlp_defs.hpp.

Function Documentation

template<class _Tp1 , class _Tp2 >
allocator< _Tp2 > __stl_alloc_create ( const allocator< _Tp1 > &  ,
const _Tp2 *   
)
inline

Definition at line 370 of file stlp_defs.hpp.

References ALLOCATOR.

template<class _Tp1 , class _Tp2 >
allocator< _Tp2 >& __stl_alloc_rebind ( allocator< _Tp1 > &  __a,
const _Tp2 *   
)
inline
size_t __stl_hash_string ( const char *  __s,
size_t  __l 
)
inline

Definition at line 418 of file stlp_defs.hpp.

Referenced by hash< const string >::operator()(), and hash< string >::operator()().

template<class _Tp >
less<_Tp> _stlp_less ( _Tp *  )

Variable Documentation

NCBI_USING_NAMESPACE_STD

Definition at line 78 of file stlp_defs.hpp.

Modified on Tue Apr 25 17:49:12 2017 by modify_doxy.py rev. 533848