// ---------------------------------------------------------------------- // // placedel.cc - Can operator delete() take user placement parameters? // // History: // 06-Oct-1999 WEB Initial draft, adapted from Scott Snyder's example // 25-Apr-2001 WEB s//"ISOcxx\/ISOcxxSyntax.hh"/ // // ---------------------------------------------------------------------- #include "ISOcxx/ISOcxxSyntax.hh" #include #include struct C { void * operator new( std::size_t, float ); #if ! defined DEFECT_NO_USER_PLACEMENT_DELETE void operator delete( void *, float ); #endif }; // C int main() { return 0; } // main()