ArSp::NewArrayAlloc< T > Class Template Reference

#include <CHArray.H>

List of all members.

Detailed Description

template<typename T>
class ArSp::NewArrayAlloc< T >

Allocator that only permits allocation by new.

Use of CHArray::define(void *const addr, ...) will cause an error

Public Member Functions

T * allocate (const USz_t size)
void deallocate (T *p, const USz_t size)

Member Function Documentation

template<typename T>
T* ArSp::NewArrayAlloc< T >::allocate ( const USz_t  size  )  [inline]

References CH_assert, and IntVect::p().

template<typename T>
void ArSp::NewArrayAlloc< T >::deallocate ( T *  p,
const USz_t  size 
) [inline]

The documentation for this class was generated from the following file:

Generated on Fri Apr 5 04:25:57 2019 for Chombo + EB by  doxygen 1.5.5