alternative Standard Libary  0.29.8
utility.hpp-Dateireferenz
#include "common.hpp"
#include "new.hpp"
#include "inttokey.hpp"
+ Include-Abhängigkeitsdiagramm für utility.hpp:

gehe zum Quellcode dieser Datei

Namensbereiche

 std
 
 std::internal
 

Makrodefinitionen

#define foreach(type, i, ctr)   for (type i = (ctr).begin(); i != (ctr).end(); ++ i)
 Shorthand for container iteration. Mehr ...
 
#define eachfor(type, i, ctr)   for (type i = (ctr).rbegin(); i != (ctr).rend(); ++ i)
 Shorthand for container reverse iteration. Mehr ...
 
#define TEMPLATE_FULL_DECL1(d1, t1)   template <d1 t1>
 
#define TEMPLATE_FULL_DECL2(d1, t1, d2, t2)   template <d1 t1, d2 t2>
 
#define TEMPLATE_FULL_DECL3(d1, t1, d2, t2, d3, t3)   template <d1 t1, d2 t2, d3 t3>
 
#define TEMPLATE_DECL1(t1)   TEMPLATE_FULL_DECL1(typename,t1)
 
#define TEMPLATE_DECL2(t1, t2)   TEMPLATE_FULL_DECL2(typename,t1,typename,t2)
 
#define TEMPLATE_DECL3(t1, t2, t3)   TEMPLATE_FULL_DECL3(typename,t1,typename,t2,typename,t3)
 
#define TEMPLATE_TYPE1(type, a1)   type<a1>
 
#define TEMPLATE_TYPE2(type, a1, a2)   type<a1,a2>
 
#define TEMPLATE_TYPE3(type, a1, a2, a3)   type<a1,a2,a3>
 

Funktionen

template<typename T >
void std::internal::copy_n (const T *first, size_t n, T *result, int_to_type< false >)
 
template<typename T >
void std::internal::copy_n (const T *first, size_t n, T *result, int_to_type< true >)
 
template<typename T >
void std::internal::copy (const T *first, const T *last, T *result, int_to_type< false >)
 
template<typename T >
void std::internal::copy (const T *first, const T *last, T *result, int_to_type< true >)
 
template<typename T >
void std::internal::move_n (const T *from, size_t n, T *result, int_to_type< false >)
 
template<typename T >
void std::internal::move_n (const T *first, size_t n, T *result, int_to_type< true >)
 
template<typename T >
void std::internal::move (const T *first, const T *last, T *result, int_to_type< false >)
 
template<typename T >
void std::internal::move (const T *first, const T *last, T *result, int_to_type< true >)
 
template<typename T >
void std::internal::copy_construct_n (const T *first, size_t n, T *result, int_to_type< false >)
 
template<typename T >
void std::internal::copy_construct_n (const T *first, size_t n, T *result, int_to_type< true >)
 
template<typename T >
void std::internal::destruct_n (T *first, size_t n, int_to_type< false >)
 
template<typename T >
void std::internal::destruct_n (T *, size_t, int_to_type< true >)
 
template<typename T >
void std::internal::destruct (T *mem, int_to_type< false >)
 
template<typename T >
void std::internal::destruct (T *, int_to_type< true >)
 
template<typename T >
void std::internal::construct (T *mem, int_to_type< false >)
 
template<typename T >
void std::internal::construct (T *, int_to_type< true >)
 
template<typename T >
void std::internal::copy_construct (T *mem, const T &orig, int_to_type< false >)
 
template<typename T >
void std::internal::copy_construct (T *mem, const T &orig, int_to_type< true >)
 
template<typename T >
void std::internal::construct_n (T *to, size_t count, int_to_type< false >)
 
template<typename T >
void std::internal::construct_n (T *, int, int_to_type< true >)
 
template<class TIter , class TPred >
void std::internal::test_ordering (TIter first, TIter last, const TPred &pred)
 
template<typename T1 , typename T2 , class TPred >
bool std::internal::debug_pred (const TPred &pred, const T1 &a, const T2 &b)
 

Makro-Dokumentation

◆ eachfor

#define eachfor (   type,
  i,
  ctr 
)    for (type i = (ctr).rbegin(); i != (ctr).rend(); ++ i)

Shorthand for container reverse iteration.

◆ foreach

#define foreach (   type,
  i,
  ctr 
)    for (type i = (ctr).begin(); i != (ctr).end(); ++ i)

Shorthand for container iteration.

◆ TEMPLATE_DECL1

#define TEMPLATE_DECL1 (   t1)    TEMPLATE_FULL_DECL1(typename,t1)

◆ TEMPLATE_DECL2

#define TEMPLATE_DECL2 (   t1,
  t2 
)    TEMPLATE_FULL_DECL2(typename,t1,typename,t2)

◆ TEMPLATE_DECL3

#define TEMPLATE_DECL3 (   t1,
  t2,
  t3 
)    TEMPLATE_FULL_DECL3(typename,t1,typename,t2,typename,t3)

◆ TEMPLATE_FULL_DECL1

#define TEMPLATE_FULL_DECL1 (   d1,
  t1 
)    template <d1 t1>

◆ TEMPLATE_FULL_DECL2

#define TEMPLATE_FULL_DECL2 (   d1,
  t1,
  d2,
  t2 
)    template <d1 t1, d2 t2>

◆ TEMPLATE_FULL_DECL3

#define TEMPLATE_FULL_DECL3 (   d1,
  t1,
  d2,
  t2,
  d3,
  t3 
)    template <d1 t1, d2 t2, d3 t3>

◆ TEMPLATE_TYPE1

#define TEMPLATE_TYPE1 (   type,
  a1 
)    type<a1>

◆ TEMPLATE_TYPE2

#define TEMPLATE_TYPE2 (   type,
  a1,
  a2 
)    type<a1,a2>

◆ TEMPLATE_TYPE3

#define TEMPLATE_TYPE3 (   type,
  a1,
  a2,
  a3 
)    type<a1,a2,a3>