Same as the preceding overload, but accepts a non‐const specTable whose entries may be updated in place.

Synopsis

Declared in <balcl_commandline.h>

template<int LENGTH>
CommandLine(
    OptionInfo(& specTable)[],
    std::ostream& errorStream,
    bslma::Allocator* basicAllocator = 0);

Parameters

Name

Description

specTable

option specification table (may be updated in place)

errorStream

stream to which construction errors are written

basicAllocator

memory allocator (or 0 for the default)

Created with MrDocs