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) |
| 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.
| 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.
| using nostd::decay_t = typedef typename std::decay<T>::type |
Definition at line 14 of file includes/opentelemetry/nostd/detail/decay.h.
| 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.
| 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.
| 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.
| using nostd::invoke_result = typedef detail::invoke_result<void, F, Args...> |
Definition at line 128 of file includes/opentelemetry/nostd/detail/invoke.h.
| using nostd::invoke_result_t = typedef typename invoke_result<F, Args...>::type |
Definition at line 131 of file includes/opentelemetry/nostd/detail/invoke.h.
| using nostd::is_invocable = typedef detail::is_invocable<void, F, Args...> |
Definition at line 156 of file includes/opentelemetry/nostd/detail/invoke.h.
| using nostd::is_invocable_r = typedef detail::is_invocable_r<void, R, F, Args...> |
Definition at line 159 of file includes/opentelemetry/nostd/detail/invoke.h.
| 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.
| using nostd::make_index_sequence = typedef std::make_index_sequence<N> |
Definition at line 125 of file includes/opentelemetry/nostd/utility.h.
| typedef std::monostate nostd::monostate |
Definition at line 30 of file includes/opentelemetry/std/variant.h.
| 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.
| 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.
| 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.
| 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.
| using nostd::shared_ptr = typedef std::shared_ptr<_Types...> |
Definition at line 19 of file includes/opentelemetry/std/shared_ptr.h.
| typedef std::string_view nostd::string_view |
Definition at line 18 of file includes/opentelemetry/std/string_view.h.
| typedef std::char_traits< char > nostd::Traits |
Definition at line 29 of file includes/opentelemetry/nostd/string_view.h.
| using nostd::unique_ptr = typedef std::unique_ptr<_Types...> |
Definition at line 19 of file includes/opentelemetry/std/unique_ptr.h.
| using nostd::variant = typedef std::variant<_Types...> |
Definition at line 25 of file includes/opentelemetry/std/variant.h.
| using nostd::variant_alternative_t = typedef typename variant_alternative<I, T>::type |
Definition at line 19 of file includes/opentelemetry/nostd/detail/variant_alternative.h.
| using nostd::variant_size = typedef std::variant_size<_Types...> |
Definition at line 28 of file includes/opentelemetry/std/variant.h.
| 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.
|
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().
|
noexcept |
Definition at line 37 of file includes/opentelemetry/nostd/utility.h.
|
noexcept |
Definition at line 49 of file includes/opentelemetry/nostd/utility.h.
|
noexcept |
Definition at line 43 of file includes/opentelemetry/nostd/utility.h.
|
constexpr |
Definition at line 165 of file includes/opentelemetry/std/variant.h.
References get().
|
constexpr |
Definition at line 190 of file includes/opentelemetry/std/variant.h.
Referenced by get().
|
constexpr |
Definition at line 158 of file includes/opentelemetry/std/variant.h.
References get().
|
constexpr |
Definition at line 184 of file includes/opentelemetry/std/variant.h.
References get().
|
constexpr |
Definition at line 152 of file includes/opentelemetry/std/variant.h.
References get().
|
constexpr |
Definition at line 178 of file includes/opentelemetry/std/variant.h.
References get().
|
constexpr |
Definition at line 146 of file includes/opentelemetry/std/variant.h.
References get().
|
constexpr |
Definition at line 172 of file includes/opentelemetry/std/variant.h.
References get().
|
inlineconstexprnoexcept |
Definition at line 218 of file includes/opentelemetry/std/variant.h.
Referenced by baggage::GetBaggage(), trace::Tracer::GetCurrentSpan(), and trace::GetSpan().
|
inlineconstexpr |
Definition at line 107 of file includes/opentelemetry/nostd/detail/invoke.h.
|
inlinenoexcept |
Definition at line 200 of file includes/opentelemetry/nostd/string_view.h.
|
inlinenoexcept |
Definition at line 198 of file includes/opentelemetry/nostd/shared_ptr.h.
|
noexcept |
Definition at line 174 of file includes/opentelemetry/nostd/shared_ptr.h.
|
inlinenoexcept |
Definition at line 190 of file includes/opentelemetry/nostd/string_view.h.
|
noexcept |
Definition at line 168 of file includes/opentelemetry/nostd/unique_ptr.h.
|
noexcept |
Definition at line 162 of file includes/opentelemetry/nostd/unique_ptr.h.
|
inlinenoexcept |
Definition at line 204 of file includes/opentelemetry/nostd/shared_ptr.h.
|
noexcept |
Definition at line 174 of file includes/opentelemetry/nostd/unique_ptr.h.
|
inlinenoexcept |
Definition at line 195 of file includes/opentelemetry/nostd/string_view.h.
|
inlinenoexcept |
Definition at line 185 of file includes/opentelemetry/nostd/string_view.h.
|
inlinenoexcept |
Definition at line 180 of file includes/opentelemetry/nostd/string_view.h.
|
inline |
Definition at line 205 of file includes/opentelemetry/nostd/string_view.h.
References nostd::string_view::data(), and nostd::string_view::length().
|
inlinenoexcept |
Definition at line 175 of file includes/opentelemetry/nostd/string_view.h.
|
inlinenoexcept |
Definition at line 186 of file includes/opentelemetry/nostd/shared_ptr.h.
|
noexcept |
Definition at line 180 of file includes/opentelemetry/nostd/shared_ptr.h.
|
inlinenoexcept |
Definition at line 165 of file includes/opentelemetry/nostd/string_view.h.
|
noexcept |
Definition at line 150 of file includes/opentelemetry/nostd/unique_ptr.h.
|
noexcept |
Definition at line 144 of file includes/opentelemetry/nostd/unique_ptr.h.
|
inlinenoexcept |
Definition at line 192 of file includes/opentelemetry/nostd/shared_ptr.h.
|
noexcept |
Definition at line 156 of file includes/opentelemetry/nostd/unique_ptr.h.
|
inlinenoexcept |
Definition at line 170 of file includes/opentelemetry/nostd/string_view.h.
|
inlinenoexcept |
Definition at line 160 of file includes/opentelemetry/nostd/string_view.h.
|
inlinenoexcept |
Definition at line 145 of file includes/opentelemetry/nostd/string_view.h.
|
noexcept |
Back port of std::size.
See https://en.cppreference.com/w/cpp/iterator/size
Definition at line 60 of file includes/opentelemetry/nostd/utility.h.
Referenced by common::KeyValueIterableView< T >::size(), trace::SpanContextKeyValueIterableView< T >::size(), and nostd::span< T, dynamic_extent >::span().
|
noexcept |
Definition at line 59 of file includes/opentelemetry/std/utility.h.
|
noexcept |
Definition at line 66 of file includes/opentelemetry/nostd/utility.h.
|
constexpr |
|
constexpr |
Definition at line 48 of file includes/opentelemetry/nostd/span.h.