Back to index

salome-med  6.5.0
Classes | Functions
INTERP_KERNEL::STLEXT Namespace Reference

Classes

struct  Select1st

Functions

template<typename _T1 , typename _T2 >
void Construct (_T1 *__p, const _T2 &__value__)
template<typename _Tp >
void Destroy (_Tp *__pointer)

Function Documentation

template<typename _T1 , typename _T2 >
void INTERP_KERNEL::STLEXT::Construct ( _T1 *  __p,
const _T2 &  __value__ 
) [inline]

Definition at line 37 of file InterpKernelStlExt.hxx.

{ ::new(static_cast<void*>(__p)) _T1(__value__); }
template<typename _Tp >
void INTERP_KERNEL::STLEXT::Destroy ( _Tp *  __pointer) [inline]

Definition at line 39 of file InterpKernelStlExt.hxx.

{ __pointer->~_Tp(); }