Home
last modified time | relevance | path

Searched refs:type_identity (Results 1 – 9 of 9) sorted by relevance

/external/pigweed/pw_minimal_cpp_stdlib/public/internal/
Dtype_traits.h358 struct type_identity {
363 using type_identity_t = typename type_identity<T>::type;
373 type_identity<T&> AddLValueReference(int);
376 type_identity<T> AddLValueReference(...);
379 type_identity<T&&> AddRValueReference(int);
382 type_identity<T> AddRValueReference(...);
/external/pigweed/pw_minimal_cpp_stdlib/public/
Dtype_traits358 struct type_identity {
363 using type_identity_t = typename type_identity<T>::type;
373 type_identity<T&> AddLValueReference(int);
376 type_identity<T> AddLValueReference(...);
379 type_identity<T&&> AddRValueReference(int);
382 type_identity<T> AddRValueReference(...);
/external/llvm-project/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/
Dtype_identity.pass.cpp21 ASSERT_SAME_TYPE(T, typename std::type_identity<T>::type); in test_type_identity()
/external/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/
Dtype_identity.pass.cpp22 static_assert((std::is_same<typename std::type_identity<T>::type, T>::value), ""); in test_type_identity()
/external/fmtlib/include/fmt/
Dcore.h269 template <typename T> struct type_identity { using type = T; }; struct
270 template <typename T> using type_identity_t = typename type_identity<T>::type;
/external/llvm-project/libcxx/include/
Dtype_traits77 template<class T> struct type_identity; // C++20
79 using type_identity_t = typename type_identity<T>::type; // C++20
1473 // type_identity
1475 template<class _Tp> struct type_identity { typedef _Tp type; };
1476 template<class _Tp> using type_identity_t = typename type_identity<_Tp>::type;
/external/libcxx/include/
Dtype_traits78 template<class T> struct type_identity; // C++20
80 using type_identity_t = typename type_identity<T>::type; // C++20
1231 // type_identity
1233 template<class _Tp> struct type_identity { typedef _Tp type; };
1234 template<class _Tp> using type_identity_t = typename type_identity<_Tp>::type;
/external/llvm-project/clang-tools-extra/clangd/
DStdSymbolMap.inc1156 SYMBOL(type_identity, std::, <type_traits>)
/external/fmtlib/
DChangeLog.rst823 * Used ``type_identity`` to block unnecessary template argument deduction.