ACE
6.1.6
|
Workaround HP/C++ compiler bug with enums in templates. More...
#include <Module.h>
Public Types | |
enum | { M_FLAGS_NOT_SET = 0, M_DELETE_READER = 1, M_DELETE_WRITER = 2, M_DELETE = 3, M_DELETE_NONE = 4 } |
Workaround HP/C++ compiler bug with enums in templates.
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.
anonymous enum |
M_FLAGS_NOT_SET |
Indicates that the flags have not been set. |
M_DELETE_READER |
Indicates that close() should delete the writer Task. |
M_DELETE_WRITER |
Indicates that close() should delete the reader Task. |
M_DELETE |
Indicates that close() deletes the Tasks. Don't change this value without updating the same enum in class ACE_Stream... The M_DELETE_READER and M_DELETE_WRITER flags may be or'ed together. |
M_DELETE_NONE |
Indicates that close() should not delete any Tasks. |