Reference

ACE_Module_Base(3)

Workaround HP/C++ compiler bug with enums in templates.

NAME

ACE_Module_Base - Workaround HP/C++ compiler bug with enums in templates.

SYNOPSIS

#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 };
        
};

DESCRIPTION

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.

AUTHOR

Doug Schmidt

LIBRARY

ace