Thread View: gnu.g++
1 messages
1 total messages
Started by Ken Kubiak
Tue, 15 Aug 1989 21:14
which `new' is called for vectors?
Author: Ken Kubiak
Date: Tue, 15 Aug 1989 21:14
Date: Tue, 15 Aug 1989 21:14
16 lines
854 bytes
854 bytes
I have defined a `class Port' and have overloaded `Port *Port::operator new( long )' for speedy allocation. However, the statement `new Port[100]' does not call my `Port::operator new'. How do I specify a `new' operator for vector allocation, short of redefining `__user_new'? (g++ 1.35.0 on a DEC VAXstation 3200) Thanks for any help, ken Ken Kubiak Computer Systems Group University of Illinois at Urbana-Champaign kubiak@csg.uiuc.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