ACE_Module_Base(3)

ACE_Module_Base3

Workaround hp/c++ compiler bug with enums in templates.

Usage

#include <ace/Module.h>
class ACE_Module_Base
{
  public:
        enum{ M_DELETE_NONE = 0,
        M_DELETE_READER = 1,
        M_DELETE_WRITER = 2,
        M_DELETE = 3 };
        
};

Overview

Certain C++ compilers, e.g., the HP/UX 10.x and 9.x compilers, seem to fail if enums are defined inside a template, hence we have to move them into a base class.

Library

ace

Author

Doug Schmidt

From libace-doc 5.0.7-4 in Debian 2.2 (Potato). Parsed by carta from the page's man source.