makeFieldListOptionHandler

makeFieldListOptionHandler creates a std.getopt option handler for processing field-lists entered on the command line. A field-list is as defined by parseNumericFieldList.

makeFieldListOptionHandler
(
T
ConvertToZeroBasedIndex convertToZero = No.convertToZeroBasedIndex
AllowFieldNumZero allowZero = No.allowFieldNumZero
)
(
ref T[] fieldsArray
)
if (
isIntegral!T &&
(
!allowZero ||
!convertToZero
||
!isUnsigned!T
)
)

Meta