[#BloombergLP-bslfmt-TestSpecificationGenerator_Option-setNextOption]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::xref:BloombergLP/bslfmt/TestSpecificationGenerator_Option.adoc[TestSpecificationGenerator&lowbar;Option]::setNextOption
:relfileprefix: ../../../
:mrdocs:

Set the specified `nextOption` as a successor in the list of generator options&period; Use the specified `allocator` to supply memory&period;

== Synopsis

Declared in `&lt;bslfmt&lowbar;testspecificationgenerator&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
setNextOption(
    xref:BloombergLP/bslfmt/TestSpecificationGenerator_Option.adoc[TestSpecificationGenerator&lowbar;Option]* nextOption,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* allocator);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
