Programming I version 1.5.3
Programming I C Library
|
A String option represents either a String or nothing. More...
#include <basedefs.h>
Data Fields | |
bool | none |
String | some |
A String option represents either a String 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.
bool StringOption::none |
String StringOption::some |