Changeset 09da99 in git for ntl/include/NTL/new.h


Ignore:
Timestamp:
Nov 3, 2003, 6:33:49 PM (21 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
Children:
70fea801cbe08a22d1b0e9d8d1d410144e0e91f6
Parents:
be2bb37dcbd03b120f14559d378b21b104d907c4
Message:
*hannes: NTL- 5.3.1


git-svn-id: file:///usr/local/Singular/svn/trunk@6910 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ntl/include/NTL/new.h

    rbe2bb3 r09da99  
    55#include <NTL/config.h>
    66
     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
    720#define NTL_NEW_OP new
    821
    922#endif
     23
     24#endif
Note: See TracChangeset for help on using the changeset viewer.