NVIDIA DeepStream SDK API Reference

9.2 Release
includes/opentelemetry/std/variant.h File Reference

Go to the source code of this file.

Namespaces

 nostd
 

Typedefs

template<class... _Types>
using nostd::variant = std::variant< _Types... >
 
template<class... _Types>
using nostd::variant_size = std::variant_size< _Types... >
 
using nostd::monostate = std::monostate
 

Functions

template<std::size_t I, class... Types>
constexpr std::variant_alternative_t< I, std::variant< Types... > > & nostd::get (std::variant< Types... > &v)
 
template<std::size_t I, class... Types>
constexpr std::variant_alternative_t< I, std::variant< Types... > > && nostd::get (std::variant< Types... > &&v)
 
template<std::size_t I, class... Types>
constexpr const std::variant_alternative_t< I, std::variant< Types... > > & nostd::get (const std::variant< Types... > &v)
 
template<std::size_t I, class... Types>
constexpr const std::variant_alternative_t< I, std::variant< Types... > > && nostd::get (const std::variant< Types... > &&v)
 
template<class T , class... Types>
constexpr T & nostd::get (std::variant< Types... > &v)
 
template<class T , class... Types>
constexpr T && nostd::get (std::variant< Types... > &&v)
 
template<class T , class... Types>
constexpr const T & nostd::get (const std::variant< Types... > &v)
 
template<class T , class... Types>
constexpr const T && nostd::get (const std::variant< Types... > &&v)
 
template<class _Callable , class... _Variants>
constexpr auto nostd::visit (_Callable &&_Obj, _Variants &&..._Args)
 
template<std::size_t I, typename... Ts>
constexpr bool nostd::holds_alternative (const variant< Ts... > &v) noexcept