Thread View: gnu.g++.help
1 messages
1 total messages
Started by Lun Ye
Wed, 04 Nov 1992 03:58
'new' overloading
Author: Lun Ye
Date: Wed, 04 Nov 1992 03:58
Date: Wed, 04 Nov 1992 03:58
21 lines
956 bytes
956 bytes
hi there, I am trying to overload operator 'new' with explicit placement like void * operator new(size_t, place1, place2) ; I called it like Node *np=new(x,y) Node; where x, y are of type place1, place2 respectively. I got an error says too few arguments for method `operator new' what is the meanning of this? please e-mail me your help. many thanx in advance. ----------------------------------------------------------------------------- lye@uceng.uc.edu -----------------------------------------------------------------------------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads