:relfileprefix: ../../ [#boost-urls-variant] = xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::variant The type of variant used by the library == Synopsis Declared in header `` [source,cpp,subs="verbatim,macros,-callouts"] ---- template using variant = xref:boost.adoc[boost]::variant2::variant; ---- == Description [WARNING] This alias is no longer supported and should not be used in new code. Please use `boost::variant2::variant` instead. This alias is included for backwards compatibility with earlier versions of the library. However, it will be removed in future releases, and using it in new code is not recommended. Please use the updated version instead to ensure compatibility with future versions of the library.