NVIDIA DeepStream SDK API Reference

9.2 Release
nostd Namespace Reference

Namespaces

 detail
 Back port of std::is_swappable.
 

Data Structures

class  function_ref
 
class  function_ref< R(Args...)>
 Non-owning function reference that can be used as a more performant replacement for std::function when ownership sematics aren't needed. More...
 
struct  in_place_index_t
 Back port of std::in_place_index_t. More...
 
struct  in_place_t
 Back port of std::in_place_t. More...
 
struct  in_place_type_t
 Back port of std::in_place_type_t. More...
 
struct  integer_sequence
 Back port of std::integer_sequence. More...
 
struct  remove_all_extents
 Back port of std::remove_all_extents. More...
 
struct  remove_all_extents< std::array< T, N > >
 
class  shared_ptr
 Provide a type-erased version of std::shared_ptr that has ABI stability. More...
 
class  span
 Back port of std::span. More...
 
class  span< T, dynamic_extent >
 
class  string_view
 Back port of std::string_view to work with pre-cpp-17 compilers. More...
 
class  unique_ptr
 Provide a simplified port of std::unique_ptr that has ABI stability. More...
 
struct  valueless_t
 
class  variant
 
struct  variant_alternative
 
struct  variant_alternative< I, const T >
 
struct  variant_alternative< I, const volatile T >
 
struct  variant_alternative< I, variant< Ts... > >
 
struct  variant_alternative< I, volatile T >
 
struct  variant_size
 
struct  variant_size< const T >
 
struct  variant_size< const volatile T >
 
struct  variant_size< variant< Ts... > >
 
struct  variant_size< volatile T >
 

Typedefs

using Traits = std::char_traits< char >
 
template<class T >
using add_pointer_t = typename std::add_pointer< T >::type
 Back port of std::add_pointer_t. More...
 
template<bool B, class T = void>
using enable_if_t = typename std::enable_if< B, T >::type
 Back port of std::enable_if_t. More...
 
template<typename T >
using remove_const_t = typename std::remove_const< T >::type
 Back port of std::remove_const_t. More...
 
template<typename T >
using remove_reference_t = typename std::remove_reference< T >::type
 Back port of std::remove_reference_t. More...
 
template<typename T >
using remove_cvref_t = typename std::remove_cv< remove_reference_t< T > >::type
 Back port of std::remove_cvref_t. More...
 
template<typename T >
using remove_all_extents_t = typename remove_all_extents< T >::type
 Back port of std::remove_all_extents_t. More...
 
template<typename T >
using is_nothrow_swappable = detail::swappable::is_nothrow_swappable< is_swappable< T >::value, T >
 
template<bool B>
using bool_constant = std::integral_constant< bool, B >
 Back port of std::bool_constant. More...
 
template<std::size_t... Is>
using index_sequence = integer_sequence< std::size_t, Is... >
 Back port of std::index_sequence. More...
 
template<size_t N>
using make_index_sequence = typename detail::make_index_sequence_impl< N >::type
 
template<class... Ts>
using index_sequence_for = make_index_sequence< sizeof...(Ts)>
 Back port of std::index_sequence_for. More...
 
template<class T >
using decay_t = typename std::decay< T >::type
 
template<typename F , typename... Args>
using invoke_result = detail::invoke_result< void, F, Args... >
 
template<typename F , typename... Args>
using invoke_result_t = typename invoke_result< F, Args... >::type
 
template<typename F , typename... Args>
using is_invocable = detail::is_invocable< void, F, Args... >
 
template<typename R , typename F , typename... Args>
using is_invocable_r = detail::is_invocable_r< void, R, F, Args... >
 
template<std::size_t I, typename T >
using variant_alternative_t = typename variant_alternative< I, T >::type
 
template<class... Tx>
using void_t = typename detail::voider< Tx... >::type
 Back port of std::void_t. More...
 
template<class... _Types>
using shared_ptr = std::shared_ptr< _Types... >
 
using string_view = std::string_view
 
template<class... _Types>
using unique_ptr = std::unique_ptr< _Types... >
 
template<class... _Types>
using variant = std::variant< _Types... >
 
template<class... _Types>
using variant_size = std::variant_size< _Types... >
 
using monostate = std::monostate
 

Functions

template<class T1 , class T2 >
bool operator!= (const shared_ptr< T1 > &lhs, const shared_ptr< T2 > &rhs) noexcept
 
template<class T1 , class T2 >
bool operator== (const shared_ptr< T1 > &lhs, const shared_ptr< T2 > &rhs) noexcept
 
template<class T >
bool operator== (const shared_ptr< T > &lhs, std::nullptr_t) noexcept
 
template<class T >
bool operator== (std::nullptr_t, const shared_ptr< T > &rhs) noexcept
 
template<class T >
bool operator!= (const shared_ptr< T > &lhs, std::nullptr_t) noexcept
 
template<class T >
bool operator!= (std::nullptr_t, const shared_ptr< T > &rhs) noexcept
 
bool operator== (string_view lhs, string_view rhs) noexcept
 
bool operator== (string_view lhs, const std::string &rhs) noexcept
 
bool operator== (const std::string &lhs, string_view rhs) noexcept
 
bool operator== (string_view lhs, const char *rhs) noexcept
 
bool operator== (const char *lhs, string_view rhs) noexcept
 
bool operator!= (string_view lhs, string_view rhs) noexcept
 
bool operator!= (string_view lhs, const std::string &rhs) noexcept
 
bool operator!= (const std::string &lhs, string_view rhs) noexcept
 
bool operator!= (string_view lhs, const char *rhs) noexcept
 
bool operator!= (const char *lhs, string_view rhs) noexcept
 
std::ostream & operator<< (std::ostream &os, string_view s)
 
template<class T1 , class T2 >
bool operator== (const unique_ptr< T1 > &lhs, const unique_ptr< T2 > &rhs) noexcept
 
template<class T >
bool operator== (const unique_ptr< T > &lhs, std::nullptr_t) noexcept
 
template<class T >
bool operator== (std::nullptr_t, const unique_ptr< T > &rhs) noexcept
 
template<class T1 , class T2 >
bool operator!= (const unique_ptr< T1 > &lhs, const unique_ptr< T2 > &rhs) noexcept
 
template<class T >
bool operator!= (const unique_ptr< T > &lhs, std::nullptr_t) noexcept
 
template<class T >
bool operator!= (std::nullptr_t, const unique_ptr< T > &rhs) noexcept
 
template<class C >
auto data (C &c) noexcept(noexcept(c.data())) -> decltype(c.data())
 Back port of std::data. More...
 
template<class C >
auto data (const C &c) noexcept(noexcept(c.data())) -> decltype(c.data())
 
template<class T , size_t N>
T * data (T(&array)[N]) noexcept
 
template<class E >
const E * data (std::initializer_list< E > list) noexcept
 
template<class C >
auto size (const C &c) noexcept(noexcept(c.size())) -> decltype(c.size())
 Back port of std::size. More...
 
template<class T , size_t N>
size_t size (T(&)[N]) noexcept
 
template<typename F , typename... Args>
constexpr auto invoke (F &&f, Args &&... args) OPENTELEMETRY_RETURN(detail
 
template<class T , std::size_t N>
std::size_t size (T(&)[N]) noexcept
 
template<std::size_t I, class... Types>
constexpr std::variant_alternative_t< I, std::variant< Types... > > & get (std::variant< Types... > &v)
 
template<std::size_t I, class... Types>
constexpr std::variant_alternative_t< I, std::variant< Types... > > && get (std::variant< Types... > &&v)
 
template<std::size_t I, class... Types>
constexpr const std::variant_alternative_t< I, std::variant< Types... > > & get (const std::variant< Types... > &v)
 
template<std::size_t I, class... Types>
constexpr const std::variant_alternative_t< I, std::variant< Types... > > && get (const std::variant< Types... > &&v)
 
template<class T , class... Types>
constexpr T & get (std::variant< Types... > &v)
 
template<class T , class... Types>
constexpr T && get (std::variant< Types... > &&v)
 
template<class T , class... Types>
constexpr const T & get (const std::variant< Types... > &v)
 
template<class T , class... Types>
constexpr const T && get (const std::variant< Types... > &&v)
 
template<class _Callable , class... _Variants>
constexpr auto visit (_Callable &&_Obj, _Variants &&..._Args)
 
template<std::size_t I, typename... Ts>
constexpr bool holds_alternative (const variant< Ts... > &v) noexcept
 

Variables

constexpr size_t dynamic_extent = static_cast<size_t>(-1)
 

Typedef Documentation

◆ add_pointer_t

template<class T >
using nostd::add_pointer_t = typedef typename std::add_pointer<T>::type

Back port of std::add_pointer_t.

Definition at line 34 of file includes/opentelemetry/nostd/type_traits.h.

◆ bool_constant

template<bool B>
using nostd::bool_constant = typedef std::integral_constant<bool, B>

Back port of std::bool_constant.

Definition at line 75 of file includes/opentelemetry/nostd/utility.h.

◆ decay_t

template<class T >
using nostd::decay_t = typedef typename std::decay<T>::type

Definition at line 14 of file includes/opentelemetry/nostd/detail/decay.h.

◆ enable_if_t

template<bool B, class T = void>
using nostd::enable_if_t = typedef typename std::enable_if<B, T>::type

Back port of std::enable_if_t.

Definition at line 40 of file includes/opentelemetry/nostd/type_traits.h.

◆ index_sequence

template<std::size_t... Is>
using nostd::index_sequence = typedef std::index_sequence<Ints...>

Back port of std::index_sequence.

Definition at line 91 of file includes/opentelemetry/nostd/utility.h.

◆ index_sequence_for

template<class... Ts>
using nostd::index_sequence_for = typedef make_index_sequence<sizeof...(Ts)>

Back port of std::index_sequence_for.

Definition at line 131 of file includes/opentelemetry/nostd/utility.h.

◆ invoke_result

template<typename F , typename... Args>
using nostd::invoke_result = typedef detail::invoke_result<void, F, Args...>

◆ invoke_result_t

template<typename F , typename... Args>
using nostd::invoke_result_t = typedef typename invoke_result<F, Args...>::type

◆ is_invocable

template<typename F , typename... Args>
using nostd::is_invocable = typedef detail::is_invocable<void, F, Args...>

◆ is_invocable_r

template<typename R , typename F , typename... Args>
using nostd::is_invocable_r = typedef detail::is_invocable_r<void, R, F, Args...>

◆ is_nothrow_swappable

template<typename T >
using nostd::is_nothrow_swappable = typedef detail::swappable::is_nothrow_swappable<is_swappable<T>::value, T>

Definition at line 131 of file includes/opentelemetry/nostd/type_traits.h.

◆ make_index_sequence

template<size_t N>
using nostd::make_index_sequence = typedef std::make_index_sequence<N>

Definition at line 125 of file includes/opentelemetry/nostd/utility.h.

◆ monostate

typedef std::monostate nostd::monostate

Definition at line 30 of file includes/opentelemetry/std/variant.h.

◆ remove_all_extents_t

template<typename T >
using nostd::remove_all_extents_t = typedef typename remove_all_extents<T>::type

Back port of std::remove_all_extents_t.

Definition at line 77 of file includes/opentelemetry/nostd/type_traits.h.

◆ remove_const_t

template<typename T >
using nostd::remove_const_t = typedef typename std::remove_const<T>::type

Back port of std::remove_const_t.

Definition at line 46 of file includes/opentelemetry/nostd/type_traits.h.

◆ remove_cvref_t

template<typename T >
using nostd::remove_cvref_t = typedef typename std::remove_cv<remove_reference_t<T> >::type

Back port of std::remove_cvref_t.

Definition at line 58 of file includes/opentelemetry/nostd/type_traits.h.

◆ remove_reference_t

template<typename T >
using nostd::remove_reference_t = typedef typename std::remove_reference<T>::type

Back port of std::remove_reference_t.

Definition at line 52 of file includes/opentelemetry/nostd/type_traits.h.

◆ shared_ptr

template<class... _Types>
using nostd::shared_ptr = typedef std::shared_ptr<_Types...>

Definition at line 19 of file includes/opentelemetry/std/shared_ptr.h.

◆ string_view

typedef std::string_view nostd::string_view

Definition at line 18 of file includes/opentelemetry/std/string_view.h.

◆ Traits

typedef std::char_traits< char > nostd::Traits

Definition at line 29 of file includes/opentelemetry/nostd/string_view.h.

◆ unique_ptr

template<class... _Types>
using nostd::unique_ptr = typedef std::unique_ptr<_Types...>

Definition at line 19 of file includes/opentelemetry/std/unique_ptr.h.

◆ variant

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

Definition at line 25 of file includes/opentelemetry/std/variant.h.

◆ variant_alternative_t

template<std::size_t I, typename T >
using nostd::variant_alternative_t = typedef typename variant_alternative<I, T>::type

◆ variant_size

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

Definition at line 28 of file includes/opentelemetry/std/variant.h.

◆ void_t

template<class... Tx>
using nostd::void_t = typedef typename detail::voider<Tx...>::type

Back port of std::void_t.

Note: voider workaround is required for gcc-4.8 to make SFINAE work

Definition at line 26 of file includes/opentelemetry/nostd/detail/void.h.

Function Documentation

◆ data() [1/4]

template<class C >
auto nostd::data ( C &  c) -> decltype(c.data())
noexcept

Back port of std::data.

See https://en.cppreference.com/w/cpp/iterator/data

Definition at line 31 of file includes/opentelemetry/nostd/utility.h.

Referenced by nostd::span< T >::span().

◆ data() [2/4]

template<class C >
auto nostd::data ( const C &  c) -> decltype(c.data())
noexcept

Definition at line 37 of file includes/opentelemetry/nostd/utility.h.

◆ data() [3/4]

template<class E >
const E * nostd::data ( std::initializer_list< E >  list)
noexcept

Definition at line 49 of file includes/opentelemetry/nostd/utility.h.

◆ data() [4/4]

template<class T , size_t N>
T * nostd::data ( T(&)  array[N])
noexcept

Definition at line 43 of file includes/opentelemetry/nostd/utility.h.

◆ get() [1/8]

template<std::size_t I, class... Types>
constexpr const std::variant_alternative_t< I, std::variant< Types... > > && nostd::get ( const std::variant< Types... > &&  v)
constexpr

Definition at line 165 of file includes/opentelemetry/std/variant.h.

References get().

◆ get() [2/8]

template<class T , class... Types>
constexpr const T && nostd::get ( const std::variant< Types... > &&  v)
constexpr

Definition at line 190 of file includes/opentelemetry/std/variant.h.

Referenced by get().

◆ get() [3/8]

template<std::size_t I, class... Types>
constexpr const std::variant_alternative_t< I, std::variant< Types... > > & nostd::get ( const std::variant< Types... > &  v)
constexpr

Definition at line 158 of file includes/opentelemetry/std/variant.h.

References get().

◆ get() [4/8]

template<class T , class... Types>
constexpr const T & nostd::get ( const std::variant< Types... > &  v)
constexpr

Definition at line 184 of file includes/opentelemetry/std/variant.h.

References get().

◆ get() [5/8]

template<std::size_t I, class... Types>
constexpr std::variant_alternative_t< I, std::variant< Types... > > && nostd::get ( std::variant< Types... > &&  v)
constexpr

Definition at line 152 of file includes/opentelemetry/std/variant.h.

References get().

◆ get() [6/8]

template<class T , class... Types>
constexpr T && nostd::get ( std::variant< Types... > &&  v)
constexpr

Definition at line 178 of file includes/opentelemetry/std/variant.h.

References get().

◆ get() [7/8]

template<std::size_t I, class... Types>
constexpr std::variant_alternative_t< I, std::variant< Types... > > & nostd::get ( std::variant< Types... > &  v)
constexpr

Definition at line 146 of file includes/opentelemetry/std/variant.h.

References get().

◆ get() [8/8]

template<class T , class... Types>
constexpr T & nostd::get ( std::variant< Types... > &  v)
constexpr

Definition at line 172 of file includes/opentelemetry/std/variant.h.

References get().

◆ holds_alternative()

template<std::size_t I, typename... Ts>
constexpr bool nostd::holds_alternative ( const variant< Ts... > &  v)
inlineconstexprnoexcept

◆ invoke()

template<typename F , typename... Args>
constexpr auto nostd::invoke ( F &&  f,
Args &&...  args 
)
inlineconstexpr

◆ operator!=() [1/11]

bool nostd::operator!= ( const char *  lhs,
string_view  rhs 
)
inlinenoexcept

Definition at line 200 of file includes/opentelemetry/nostd/string_view.h.

◆ operator!=() [2/11]

template<class T >
bool nostd::operator!= ( const shared_ptr< T > &  lhs,
std::nullptr_t   
)
inlinenoexcept

Definition at line 198 of file includes/opentelemetry/nostd/shared_ptr.h.

◆ operator!=() [3/11]

template<class T1 , class T2 >
bool nostd::operator!= ( const shared_ptr< T1 > &  lhs,
const shared_ptr< T2 > &  rhs 
)
noexcept

Definition at line 174 of file includes/opentelemetry/nostd/shared_ptr.h.

◆ operator!=() [4/11]

bool nostd::operator!= ( const std::string &  lhs,
string_view  rhs 
)
inlinenoexcept

Definition at line 190 of file includes/opentelemetry/nostd/string_view.h.

◆ operator!=() [5/11]

template<class T >
bool nostd::operator!= ( const unique_ptr< T > &  lhs,
std::nullptr_t   
)
noexcept

Definition at line 168 of file includes/opentelemetry/nostd/unique_ptr.h.

◆ operator!=() [6/11]

template<class T1 , class T2 >
bool nostd::operator!= ( const unique_ptr< T1 > &  lhs,
const unique_ptr< T2 > &  rhs 
)
noexcept

Definition at line 162 of file includes/opentelemetry/nostd/unique_ptr.h.

◆ operator!=() [7/11]

template<class T >
bool nostd::operator!= ( std::nullptr_t  ,
const shared_ptr< T > &  rhs 
)
inlinenoexcept

Definition at line 204 of file includes/opentelemetry/nostd/shared_ptr.h.

◆ operator!=() [8/11]

template<class T >
bool nostd::operator!= ( std::nullptr_t  ,
const unique_ptr< T > &  rhs 
)
noexcept

Definition at line 174 of file includes/opentelemetry/nostd/unique_ptr.h.

◆ operator!=() [9/11]

bool nostd::operator!= ( string_view  lhs,
const char *  rhs 
)
inlinenoexcept

Definition at line 195 of file includes/opentelemetry/nostd/string_view.h.

◆ operator!=() [10/11]

bool nostd::operator!= ( string_view  lhs,
const std::string &  rhs 
)
inlinenoexcept

Definition at line 185 of file includes/opentelemetry/nostd/string_view.h.

◆ operator!=() [11/11]

bool nostd::operator!= ( string_view  lhs,
string_view  rhs 
)
inlinenoexcept

Definition at line 180 of file includes/opentelemetry/nostd/string_view.h.

◆ operator<<()

std::ostream & nostd::operator<< ( std::ostream &  os,
string_view  s 
)
inline

◆ operator==() [1/11]

bool nostd::operator== ( const char *  lhs,
string_view  rhs 
)
inlinenoexcept

Definition at line 175 of file includes/opentelemetry/nostd/string_view.h.

◆ operator==() [2/11]

template<class T >
bool nostd::operator== ( const shared_ptr< T > &  lhs,
std::nullptr_t   
)
inlinenoexcept

Definition at line 186 of file includes/opentelemetry/nostd/shared_ptr.h.

◆ operator==() [3/11]

template<class T1 , class T2 >
bool nostd::operator== ( const shared_ptr< T1 > &  lhs,
const shared_ptr< T2 > &  rhs 
)
noexcept

Definition at line 180 of file includes/opentelemetry/nostd/shared_ptr.h.

◆ operator==() [4/11]

bool nostd::operator== ( const std::string &  lhs,
string_view  rhs 
)
inlinenoexcept

Definition at line 165 of file includes/opentelemetry/nostd/string_view.h.

◆ operator==() [5/11]

template<class T >
bool nostd::operator== ( const unique_ptr< T > &  lhs,
std::nullptr_t   
)
noexcept

Definition at line 150 of file includes/opentelemetry/nostd/unique_ptr.h.

◆ operator==() [6/11]

template<class T1 , class T2 >
bool nostd::operator== ( const unique_ptr< T1 > &  lhs,
const unique_ptr< T2 > &  rhs 
)
noexcept

Definition at line 144 of file includes/opentelemetry/nostd/unique_ptr.h.

◆ operator==() [7/11]

template<class T >
bool nostd::operator== ( std::nullptr_t  ,
const shared_ptr< T > &  rhs 
)
inlinenoexcept

Definition at line 192 of file includes/opentelemetry/nostd/shared_ptr.h.

◆ operator==() [8/11]

template<class T >
bool nostd::operator== ( std::nullptr_t  ,
const unique_ptr< T > &  rhs 
)
noexcept

Definition at line 156 of file includes/opentelemetry/nostd/unique_ptr.h.

◆ operator==() [9/11]

bool nostd::operator== ( string_view  lhs,
const char *  rhs 
)
inlinenoexcept

Definition at line 170 of file includes/opentelemetry/nostd/string_view.h.

◆ operator==() [10/11]

bool nostd::operator== ( string_view  lhs,
const std::string &  rhs 
)
inlinenoexcept

Definition at line 160 of file includes/opentelemetry/nostd/string_view.h.

◆ operator==() [11/11]

bool nostd::operator== ( string_view  lhs,
string_view  rhs 
)
inlinenoexcept

Definition at line 145 of file includes/opentelemetry/nostd/string_view.h.

◆ size() [1/3]

template<class C >
auto nostd::size ( const C &  c) -> decltype(c.size())
noexcept

◆ size() [2/3]

template<class T , std::size_t N>
std::size_t nostd::size ( T(&)  [N])
noexcept

Definition at line 59 of file includes/opentelemetry/std/utility.h.

◆ size() [3/3]

template<class T , size_t N>
size_t nostd::size ( T(&)  [N])
noexcept

Definition at line 66 of file includes/opentelemetry/nostd/utility.h.

◆ visit()

template<class _Callable , class... _Variants>
constexpr auto nostd::visit ( _Callable &&  _Obj,
_Variants &&...  _Args 
)
constexpr

Variable Documentation

◆ dynamic_extent

constexpr size_t nostd::dynamic_extent = static_cast<size_t>(-1)
constexpr

Definition at line 48 of file includes/opentelemetry/nostd/span.h.