|
Go to the documentation of this file.
58 p = reinterpret_cast<T >(malloc( sizeof(*p) * ( unsigned int) n));
60 catch( const std::bad_alloc& )
67 std::cerr << "EMALLC01 malloc: Out of memory - cannot allocate "
68 << sizeof(*p) * ( unsigned int) n << " bytes" << std::endl;
91 pp = reinterpret_cast<T >(realloc(p, sizeof(*p) * ( unsigned int) n));
93 catch( const std::bad_alloc& )
100 std::cerr << "EMALLC02 realloc: Out of memory - cannot allocate "
101 << sizeof(*p) * ( unsigned int) n << " bytes" << std::endl;
121 #endif // _SPXALLOC_H_
|