[#BloombergLP-balcl-TypeInfo-setLinkedVariable-0a2] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::xref:BloombergLP/balcl/TypeInfo.adoc[TypeInfo]::setLinkedVariable :relfileprefix: ../../../ :mrdocs: Set this object to have the type indicated by the specified `variable`, and reset this object so that it no longer has a constraint associated with it. If `variable` is not 0, then link it with the described option. If `variable` is of type `bsl::optional<Type>`, then the type of this object is set to `Type`. == Synopsis Declared in `<balcl_typeinfo.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void setLinkedVariable(bool* variable); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#