File: anyobj.h

package info (click to toggle)
bcpp 0.0.20210108-1.1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 952 kB
  • sloc: cpp: 4,955; sh: 3,262; makefile: 237
file content (20 lines) | stat: -rw-r--r-- 641 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef _ANYOBJECT_HEADER
#define _ANYOBJECT_HEADER

// Program code written by Steven De Toni ACBC 11

// This header contains a base class definition with a virtual destructor
// so that existing objects that inherit from it use their proper destructor
// no matter what type they are when being deleted.

// ###############################################################################
// #### ANYOBJECT Class ####
// #########################
// Class used within container (TWOWAYLL) to store objects.
// This is the base class for every other object to use.
class ANYOBJECT
{
      public:
      virtual ~ANYOBJECT (void);
};
#endif