Return a shared pointer to the constraint associated with the described option.
Synopsis
Declared in <balcl_typeinfo.h>
bsl::shared_ptr<TypeInfoConstraint>
constraint() const;
Description
Return a shared pointer to the (opaque) object storing the constraint associated with the described option. If this object has no constraint an empty shared pointer is returned. The lifetime of any shared reference to this object's constraint must not exceed that of this object's allocator.
Return Value
shared pointer to the associated constraint, or empty
Created with MrDocs