xdrpp
RFC4506 XDR compiler and message library
|
Abstract class used to represent a pending timeout. More...
#include <pollset.h>
Public Member Functions | |
Timeout () | |
After static initialization, Timeouts are null by default. More... | |
operator bool () const | |
Static Public Attributes | |
static const Timeout | null_ |
A null timeout. Relies on static initalization. | |
Friends | |
class | pollset |
|
inline |
After static initialization, Timeouts are null by default.
However, since null_
relies on static initialization, static/global Timeouts are not guaranteed to be null and should be explicitly initialized from pollset::timeout_null()
.