[#BloombergLP-ball-RuleSet-2constructor-017] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/RuleSet.adoc[RuleSet]::RuleSet :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<ball_ruleset.h>` Create an empty rule set. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator will be used. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/ball/RuleSet/2constructor-04.adoc[RuleSet](xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/ball/RuleSet/2constructor-04.adoc[_» more..._]# Create a `RuleSet` object having the same value as that of the specified `original` object. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator will be used. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/ball/RuleSet/2constructor-010.adoc[RuleSet]( xref:BloombergLP/ball/RuleSet.adoc[RuleSet] const& original, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/ball/RuleSet/2constructor-010.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#