freepooma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [pooma-dev] question in Intersector.h


From: Stephen Smith
Subject: RE: [pooma-dev] question in Intersector.h
Date: Wed, 18 Apr 2001 10:27:14 -0700

That change would be fine.  The standard in other
parts of POOMA seems to be to declare them private,
but provide no definition.  If you change it, could
you make the same change in Evaluator/SimpleIntersector.h?

For what it's worth, the C++ standard seems to tell
that code was ok... but I've often seen g++ report
syntax errors in unused member functions of implicitly
instantiated templates before.

    Stephen

-----Original Message-----
From: Julian Cummings [mailto:address@hidden]
Sent: Tuesday, April 17, 2001 8:57 PM
To: address@hidden
Subject: [pooma-dev] question in Intersector.h


The class IntersectorData defined in Intersector.h
has a copy constructor and an assignment operator
defined to just call CTAssert(false).  This is pretty
evil, since it does not compile at all.  Would it be
OK to simply declare the copy constructor and the
assignment operator to be private member functions,
so that no one can call them?  The current code is
giving me grief.

Julian C.


--
Dr. Julian C. Cummings                       E-mail: address@hidden
California Institute of Technology           Phone:  626-395-2543
1200 E. California Blvd., Mail Code 158-79   Fax:    626-584-5917
Pasadena, CA 91125



reply via email to

[Prev in Thread] Current Thread [Next in Thread]