Re: new(arena)

New Message Reply Date view Thread view Subject view Author view

Rémi Arnaud (remi++at++remi.engr.sgi.com)
Sun, 28 Sep 1997 21:09:02 -0700 (PDT)


Chris Mitchell wrote:
>
> > Let me try that again try
> >
> > pfSwitch *mySwitch = new(arena) pfSwitch;
> >
> > Brian
> >
> > Brian Furtaw (brian++at++sgi.com)
> > VisSim Technical Consultant
> > 12200-G Plum Orchard Drive Office:(301)572-3293 Fax: (301)872-3293
> > Silver Spring, Maryland 20904 OpenGL/ImageVision/OpenInventor/Performer
>
> Hi Brian.
>
> Thanks for the response.
> Tried that one first.
>
> Get the following compiler flag
>
> CC -g -lm -c perfDriver.C -o perfDriver.o
> "perfDriver.C", line 194: error(3464): no instance of overloaded
> "pfSwitch::operator new" matches these operands
> Shared->sceneSwitch = new(arena) pfSwitch;

 If you initialized the SharedArena, switch = new pfSwitch; will create in the
 arena.

    _ / _ _
|_) _ ._ _ o /\ |_)|\ | /\ | || \
| \(/_| | || /--\| \| \|/--\|_||_/
                                           
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:56:00 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.