source: git/ntl/include/NTL/new.h @ 26e030

spielwiese
Last change on this file since 26e030 was 26e030, checked in by Hans Schönemann <hannes@…>, 15 years ago
*hannes: update to 5.5.1 git-svn-id: file:///usr/local/Singular/svn/trunk@11949 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 386 bytes
Line 
1
2#ifndef NTL_new__H
3#define NTL_new__H
4
5#include <NTL/config.h>
6
7#if (defined(NTL_STD_CXX) || defined(NTL_PSTD_NTN))
8
9// We use <new> and std::nothrow, even if neither NTL_STD_CXX nor 
10// NTL_PSTD_NHF are set.  This appears to be somewhat more compatible
11// with current compilers.
12
13#include <new>
14
15#define NTL_NEW_OP new (std::nothrow)
16
17
18#else
19
20#define NTL_NEW_OP new
21
22#endif
23
24#endif
Note: See TracBrowser for help on using the repository browser.