#include <Synch_T.h>
Public Methods | |
| ACE_TSS_Type_Adapter (const TYPE value = 0) | |
| Constructor. Inlined here so that it should _always_ be inlined. | |
| operator TYPE () const | |
| TYPE conversion. Inlined here so that it should _always_ be inlined. | |
| operator TYPE & () | |
| TYPE & conversion. Inlined here so that it should _always_ be inlined. | |
Private Attributes | |
| TYPE | value_ |
| The wrapped value. | |
Wraps a value of a built-in type, providing conversions to and from the type. Example use with ACE_TSS: ACE_TSS > i; *i = 37; ACE_OS::fprintf (stderr, "d
", *i); Unfortunately, though, some compilers have trouble with the implicit type conversions. This seems to work better: ACE_TSS > i; i->operator int &() = 37; ACE_OS::fprintf (stderr, "d
", i->operator int());
|
||||
|
Constructor. Inlined here so that it should _always_ be inlined.
|
|
||||
|
TYPE conversion. Inlined here so that it should _always_ be inlined.
|
|
||||
|
TYPE & conversion. Inlined here so that it should _always_ be inlined.
|
|
|||
|
The wrapped value.
|
1.2.3 written by Dimitri van Heesch,
© 1997-2000