Programming I version 1.5.3
Programming I C Library
|
A byte option represents either a byte or nothing. More...
#include <basedefs.h>
Data Fields | |
bool | none |
Byte | some |
A byte option represents either a byte or nothing.
Option types are typically used with functions that may return a value of the given type or nothing (i.e. the return value is optional). The none
member is true if the value is not present. Otherwise the value can be accessed with the some
member.
Example:
bool ByteOption::none |
Byte ByteOption::some |