header file contents

I have this header file and it's filled with this


#ifndef _DSEXCEPTIONS_H_
#define _DSEXCEPTIONS_H_

class Underflow { };
class Overflow { };
class OutOfMemory { };
class BadIterator { };

#endif

im not sure what does each class does. It has { } next to each class so I'm assuming it does nothing?
It does exactly nothing. They are classes without members. You can't even initialize an object, because they have no constructor.

In case you were wondering: the lines with #-tags in front of them are preprocessor directives. In this case, they make sure the file can't be included multiple times (as that would lead to death and destruction).
thank you for your help! much appreciated!
Topic archived. No new replies allowed.