home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 31 / CDASC_31_1996_juillet_aout.iso / vrac / cuj0796.zip / PLAUGER.ZIP / MEMORY7 < prev   
Text File  |  1996-04-24  |  365b  |  12 lines

  1. --------------- Listing 6: <memory>, part 7 -------------
  2.  
  3. ///};    // end of namespace std
  4.  
  5.         // TEMPLATE OPERATOR new
  6. template<class T>
  7.     inline void *operator new(size_t n, _STD allocator<T>& al)
  8. ///    {return (allocator<T>::rebind<char>::other(al)
  9. ///        .allocate(n, 0)); }
  10.     {return (al.Charalloc(n)); }    ///
  11. #endif /* _MEMORY_ */
  12.