FBB::ArgConfig &initialize(char const *optstring,
LongOption const * const begin,
LongOption const * const end,
int argc, char **argv):
Initializes the FBB::ArgConfig singleton. Accepts two iterators of an
array of Arg::LongOption objects, holding long-options. Must be called
only once. Throws an FBB::Errno exception if called repeatedly or if
called with argv not containing a defined option (which is shown by the
FBB::Errno's what() member). See the description of
Arg::LongOption below. Returns a reference to the singleton object,
allowing code initializing ArgConfig to use the initialized object immediately.
optstring should consist of letters, possibly postfixed by:
- a colon (:), indicating that the option has a required
argument;
- a double colon (::), indicating that the option itself
has an optional argument (in that case, the option's value
will be empty, unless specified).