NAME

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

SYNOPSIS

#include <ace/Message_Queue.h>

class ACE_Message_Queue_Base { public: enum{ DEFAULT_LWM = 0, DEFAULT_HWM = 16 * 1024, WAS_ACTIVE = 1, WAS_INACTIVE = 2 }; };

DESCRIPTION

The ever lamest HP/C++ compiler seems to fail if enums are defined inside a template, hence we have to move them into a base class.

Default high and low water marks.

AUTHOR

Doug Schmidt

LIBRARY

ace