[#bsl-variant_npos]
= xref:bsl.adoc[bsl]::variant&lowbar;npos
:relfileprefix: ../
:mrdocs:

This value is returned by `bsl&colon;&colon;variant&colon;&colon;index()` if `valueless&lowbar;by&lowbar;exception()` is `true`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr std::size&lowbar;t variant&lowbar;npos = &hyphen;1;
----


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