[#BloombergLP-bslfmt-TestSpecificationGenerator_Option-setNextOption] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::xref:BloombergLP/bslfmt/TestSpecificationGenerator_Option.adoc[TestSpecificationGenerator_Option]::setNextOption :relfileprefix: ../../../ :mrdocs: Set the specified `nextOption` as a successor in the list of generator options. Use the specified `allocator` to supply memory. == Synopsis Declared in `<bslfmt_testspecificationgenerator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void setNextOption( xref:BloombergLP/bslfmt/TestSpecificationGenerator_Option.adoc[TestSpecificationGenerator_Option]* nextOption, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* allocator); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#