del_opvnt.cc revision 132720
1343171Sdim// Boilerplate support routines for -*- C++ -*- dynamic memory management. 2343171Sdim 3353358Sdim// Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation 4353358Sdim// 5353358Sdim// This file is part of GCC. 6343171Sdim// 7343171Sdim// GCC is free software; you can redistribute it and/or modify 8343171Sdim// it under the terms of the GNU General Public License as published by 9343171Sdim// the Free Software Foundation; either version 2, or (at your option) 10343171Sdim// any later version. 11343171Sdim// 12343171Sdim// GCC is distributed in the hope that it will be useful, 13343171Sdim// but WITHOUT ANY WARRANTY; without even the implied warranty of 14343171Sdim// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15343171Sdim// GNU General Public License for more details. 16343171Sdim// 17343171Sdim// You should have received a copy of the GNU General Public License 18343171Sdim// along with GCC; see the file COPYING. If not, write to 19343171Sdim// the Free Software Foundation, 59 Temple Place - Suite 330, 20343171Sdim// Boston, MA 02111-1307, USA. 21343171Sdim// 22343171Sdim// As a special exception, you may use this file as part of a free software 23343171Sdim// library without restriction. Specifically, if other files instantiate 24343171Sdim// templates or use macros or inline functions from this file, or you compile 25343171Sdim// this file and link it with other files to produce an executable, this 26343171Sdim// file does not by itself cause the resulting executable to be covered by 27343171Sdim// the GNU General Public License. This exception does not however 28343171Sdim// invalidate any other reasons why the executable file might be covered by 29343171Sdim// the GNU General Public License. 30343171Sdim 31343171Sdim#include "new" 32343171Sdim 33343171Sdimvoid 34343171Sdimoperator delete[] (void *ptr, const std::nothrow_t&) throw () 35343171Sdim{ 36343171Sdim ::operator delete (ptr); 37343171Sdim} 38343171Sdim