STL ALLOCATOR CONSTRCUT

CONSTRCUT

In <stl_construct.h>

Construct

1
2
3
4
5
6
7
8
9
template <class _T1, class _T2>
inline void _Construct(_T1* __p, const _T2& __value) {
new ((void*) __p) _T1(__value);
}

template <class _T1>
inline void _Construct(_T1* __p) {
new ((void*) __p) _T1();
}
Contents
  1. 1. CONSTRCUT
    1. 1.1. Construct