Menu ▾ ▴

#10 Forward-defined class mishandled

v3.5.0
open
nobody
5
2001-08-23
2001-08-23
No

From Martin Michalecz on Mon, 28 Jun 1999 11:22:50
+0200

Perceps 3.5.0 (and 3.4.1) incorrectly list forward
defined classes as "other - global definitions".

In the following example, class CCallout is
defined correctly. But in addition the forward
definition (which is not neccessary from C++ vie
in this simplified example, but imagine that some
other class requires it) causes an entry in other
documented items as global CCallout. This is
incorrect.

Example:

class CCallout;

/* some other class gotes here */

class CCallout
{
private:
CCallout();
//: default constructor for class CCallout -
//NOT IMPLEMENTED
//
// This constructor is NOT available, as an
// imagename is always required to construct
// a CCallout object.

/* some code cutted */
};

Build commend I use is:

perl c:\perceps350\PERCEPS.PL -a -h -r -e -d

.\html -t .\templates -s
.h,.H .\src

Any idea how to workaoround this behavior ?

Martin

Discussion


Log in to post a comment.