libcopp 2.3.2
Loading...
Searching...
No Matches
Namespaces | Data Structures | Typedefs | Functions
nostd Namespace Reference

Namespaces

namespace  details
 

Data Structures

struct  __enable_nonnull
 
struct  __enable_nullability_unknown
 
struct  __enable_nullable
 
struct  __is_nullability_compatible
 
struct  __is_nullability_compatible< T, void_t< typename T::nullability_compatible_type > >
 
struct  __is_nullability_support
 
struct  __is_nullability_support< std::shared_ptr< T > >
 
struct  __is_nullability_support< std::unique_ptr< T, Deleter... > >
 
struct  __is_nullability_support< T * >
 
struct  __is_nullability_support< T U::* >
 
struct  aligned_storage
 
struct  aligned_union
 
struct  allocator_rebind
 
struct  allocator_rebind< Allocator, T, true >
 
struct  allocator_rebind< Allocator< Up, Args... >, T, false >
 
class  allocator_rebind_helper
 
struct  is_function
 
struct  max_alignof_size_helper
 
struct  max_alignof_size_helper< Len >
 
struct  max_alignof_size_helper< Len, First, Types... >
 
struct  max_sizeof_size_helper
 
struct  max_sizeof_size_helper< Len >
 
struct  max_sizeof_size_helper< Len, First, Types... >
 

Typedefs

template<class T , class = typename __enable_nullable<T>::type>
using nullable = T
 
template<class T , class = typename __enable_nonnull<T>::type>
using nonnull = T
 
template<class T , class = typename __enable_nullability_unknown<T>::type>
using nullability_unknown = T
 
template<class... >
using void_t = void
 
template<typename T >
using add_const_t = typename ::std::add_const< T >::type
 
template<typename T >
using remove_const_t = typename ::std::remove_const< T >::type
 
template<typename T >
using add_volatile_t = typename ::std::add_volatile< T >::type
 
template<typename T >
using remove_volatile_t = typename ::std::remove_volatile< T >::type
 
template<typename T >
using add_cv_t = typename ::std::add_cv< T >::type
 
template<typename T >
using remove_cv_t = typename ::std::remove_cv< T >::type
 
template<typename T >
using add_pointer_t = typename ::std::add_pointer< T >::type
 
template<typename T >
using remove_pointer_t = typename ::std::remove_pointer< T >::type
 
template<typename T >
using remove_reference_t = typename ::std::remove_reference< T >::type
 
template<typename T >
using remove_cvref_t = remove_cv_t< remove_reference_t< T > >
 
template<typename T >
using decay_t = typename ::std::decay< T >::type
 
template<class... T>
using common_type_t = typename ::std::common_type< T... >::type
 
template<class T >
using underlying_type_t = typename ::std::underlying_type< T >::type
 
template<class T >
using remove_extent_t = typename ::std::remove_extent< T >::type
 
template<class T >
using remove_all_extents_t = typename ::std::remove_all_extents< T >::type
 
template<bool B, class T = void>
using enable_if_t = typename ::std::enable_if< B, T >::type
 
template<class F , class... ArgTypes>
using invoke_result = ::std::result_of< F(ArgTypes...)>
 
template<class F , class... ArgTypes>
using invoke_result_t = typename invoke_result< F, ArgTypes... >::type
 
template<std::size_t Len, std::size_t Align>
using aligned_storage_t = typename aligned_storage< Len, Align >::type
 
template<typename T >
using non_array = typename ::std::enable_if<!::std::is_array< T >::value, T >::type
 

Functions

template<typename F , typename... ArgTypes>
LIBCOPP_UTIL_SYMBOL_VISIBLE LIBCOPP_UTIL_NOSTD_INVOKE_RESULT_CONSTEXPR invoke_result_t< F, ArgTypes... > invoke (F &&__fn, ArgTypes &&... __args)
 
template<class TCONTAINER >
LIBCOPP_COPP_API_HEAD_ONLY constexpr auto size (const TCONTAINER &container) -> decltype(container.size())
 
template<class T , size_t SIZE>
LIBCOPP_COPP_API_HEAD_ONLY constexpr size_t size (const T(&)[SIZE]) noexcept
 
template<class TCONTAINER >
LIBCOPP_COPP_API_HEAD_ONLY constexpr auto data (TCONTAINER &container) -> decltype(container.data())
 
template<class TCONTAINER >
LIBCOPP_COPP_API_HEAD_ONLY constexpr auto data (const TCONTAINER &container) -> decltype(container.data())
 
template<class T , size_t SIZE>
LIBCOPP_COPP_API_HEAD_ONLY constexpr T * data (T(&array_value)[SIZE]) noexcept
 
template<class TELEMENT >
LIBCOPP_COPP_API_HEAD_ONLY constexpr const TELEMENT * data (std::initializer_list< TELEMENT > l) noexcept
 

Typedef Documentation

◆ add_const_t

template<typename T >
using nostd::add_const_t = typedef typename ::std::add_const<T>::type

Definition at line 34 of file type_traits.h.

◆ add_cv_t

template<typename T >
using nostd::add_cv_t = typedef typename ::std::add_cv<T>::type

Definition at line 46 of file type_traits.h.

◆ add_pointer_t

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

Definition at line 52 of file type_traits.h.

◆ add_volatile_t

template<typename T >
using nostd::add_volatile_t = typedef typename ::std::add_volatile<T>::type

Definition at line 40 of file type_traits.h.

◆ aligned_storage_t

template<std::size_t Len, std::size_t Align>
using nostd::aligned_storage_t = typedef typename aligned_storage<Len, Align>::type

Definition at line 287 of file type_traits.h.

◆ common_type_t

template<class... T>
using nostd::common_type_t = typedef typename ::std::common_type<T...>::type

Definition at line 67 of file type_traits.h.

◆ decay_t

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

Definition at line 64 of file type_traits.h.

◆ enable_if_t

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

Definition at line 79 of file type_traits.h.

◆ invoke_result

template<class F , class... ArgTypes>
using nostd::invoke_result = typedef ::std::result_of<F(ArgTypes...)>

Definition at line 90 of file type_traits.h.

◆ invoke_result_t

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

Definition at line 93 of file type_traits.h.

◆ non_array

template<typename T >
using nostd::non_array = typedef typename ::std::enable_if<!::std::is_array<T>::value, T>::type

Definition at line 296 of file type_traits.h.

◆ nonnull

template<class T , class = typename __enable_nonnull<T>::type>
using nostd::nonnull = typedef T

Definition at line 79 of file nullability.h.

◆ nullability_unknown

template<class T , class = typename __enable_nullability_unknown<T>::type>
using nostd::nullability_unknown = typedef T

Definition at line 86 of file nullability.h.

◆ nullable

template<class T , class = typename __enable_nullable<T>::type>
using nostd::nullable = typedef T

Definition at line 72 of file nullability.h.

◆ remove_all_extents_t

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

Definition at line 76 of file type_traits.h.

◆ remove_const_t

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

Definition at line 37 of file type_traits.h.

◆ remove_cv_t

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

Definition at line 49 of file type_traits.h.

◆ remove_cvref_t

template<typename T >
using nostd::remove_cvref_t = typedef remove_cv_t<remove_reference_t<T> >

Definition at line 61 of file type_traits.h.

◆ remove_extent_t

template<class T >
using nostd::remove_extent_t = typedef typename ::std::remove_extent<T>::type

Definition at line 73 of file type_traits.h.

◆ remove_pointer_t

template<typename T >
using nostd::remove_pointer_t = typedef typename ::std::remove_pointer<T>::type

Definition at line 55 of file type_traits.h.

◆ remove_reference_t

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

Definition at line 58 of file type_traits.h.

◆ remove_volatile_t

template<typename T >
using nostd::remove_volatile_t = typedef typename ::std::remove_volatile<T>::type

Definition at line 43 of file type_traits.h.

◆ underlying_type_t

template<class T >
using nostd::underlying_type_t = typedef typename ::std::underlying_type<T>::type

Definition at line 70 of file type_traits.h.

◆ void_t

template<class... >
using nostd::void_t = typedef void

Definition at line 31 of file type_traits.h.

Function Documentation

◆ data() [1/4]

template<class TCONTAINER >
LIBCOPP_COPP_API_HEAD_ONLY constexpr auto nostd::data ( const TCONTAINER &  container) -> decltype(container.data())
inlineconstexpr

Definition at line 37 of file utility_data_size.h.

◆ data() [2/4]

template<class TELEMENT >
LIBCOPP_COPP_API_HEAD_ONLY constexpr const TELEMENT * nostd::data ( std::initializer_list< TELEMENT >  l)
inlineconstexprnoexcept

Definition at line 47 of file utility_data_size.h.

◆ data() [3/4]

template<class T , size_t SIZE>
LIBCOPP_COPP_API_HEAD_ONLY constexpr T * nostd::data ( T(&)  array_value[SIZE])
inlineconstexprnoexcept

Definition at line 42 of file utility_data_size.h.

◆ data() [4/4]

template<class TCONTAINER >
LIBCOPP_COPP_API_HEAD_ONLY constexpr auto nostd::data ( TCONTAINER &  container) -> decltype(container.data())
inlineconstexpr

Definition at line 32 of file utility_data_size.h.

◆ invoke()

template<typename F , typename... ArgTypes>
LIBCOPP_UTIL_SYMBOL_VISIBLE LIBCOPP_UTIL_NOSTD_INVOKE_RESULT_CONSTEXPR invoke_result_t< F, ArgTypes... > nostd::invoke ( F &&  __fn,
ArgTypes &&...  __args 
)
inline

Definition at line 196 of file type_traits.h.

References nostd::details::__invoke().

◆ size() [1/2]

template<class T , size_t SIZE>
LIBCOPP_COPP_API_HEAD_ONLY constexpr size_t nostd::size ( const   T(&)[SIZE])
inlineconstexprnoexcept

Definition at line 27 of file utility_data_size.h.

◆ size() [2/2]

template<class TCONTAINER >
LIBCOPP_COPP_API_HEAD_ONLY constexpr auto nostd::size ( const TCONTAINER &  container) -> decltype(container.size())
inlineconstexpr

Definition at line 22 of file utility_data_size.h.