[#BSLSTL_VARIANT_DEFINE_IF_CONSTRUCTS_FROM_STD]
= BSLSTL&lowbar;VARIANT&lowbar;DEFINE&lowbar;IF&lowbar;CONSTRUCTS&lowbar;FROM&lowbar;STD
:mrdocs:

This component&hyphen;private macro is used as a constraint when defining constructors of `variant` from the corresponding `std&colon;&colon;variant`&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;variant&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
#define BSLSTL&lowbar;VARIANT&lowbar;DEFINE&lowbar;IF&lowbar;CONSTRUCTS&lowbar;FROM&lowbar;STD(STD&lowbar;VARIANT)

----


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