type_traits.hpp File Reference
#include <type_traits>

Go to the source code of this file.

Classes

struct  nonesuch
 Similar to TS Fundamentals 2 std::nonesuch More...
 

Namespaces

 atria
 C++ amazing templates and reusable implementations awesomeness.
 
 atria::estd
 C++11 compatible implementations of some C++14 and beyond standard library components.
 

Typedefs

template<typename... Ts>
using void_t = typename detail::make_void< Ts... >::type
 Similar to C++17 std::void_t. More...
 
template<typename T >
using decay_t = typename std::decay< T >::type
 Similar to C++14 std::decay_t. More...
 
template<typename T >
using result_of_t = typename std::result_of< T >::type
 Similar to C++14 std::result_of_t. More...
 
template<bool X, typename T , typename F >
using conditional_t = typename std::conditional< X, T, F >::type
 Similar to C++14 std::conditional_t. More...
 
template<typename T >
using remove_reference_t = typename std::remove_reference< T >::type
 Similar to C++14 std::remove_reference_t. More...
 
template<typename T >
using remove_const_t = typename std::remove_const< T >::type
 Similar to C++14 std::remove_const_t. More...
 
template<bool X, typename T = void>
using enable_if_t = typename std::enable_if< X, T >::type
 Similar to C++14 std::enable_if_t. More...
 
template<template< class... > class Op, class... Args>
using is_detected = typename detail::detector< nonesuch, void, Op, Args... >::value_t
 Similar to TS Fundamentals 2 std::is_detected More...
 
template<template< class... > class Op, class... Args>
using detected_t = typename detail::detector< nonesuch, void, Op, Args... >::type
 Similar to TS Fundamentals 2 std::detected_t More...
 
template<class Default , template< class... > class Op, class... Args>
using detected_or = detail::detector< Default, void, Op, Args... >
 Similar to TS Fundamentals 2 std::dected_or More...
 
template<class Default , template< class... > class Op, class... Args>
using detected_or_t = typename detected_or< Default, Op, Args... >::type
 Similar to TS Fundamentals 2 std::dected_or_t More...
 
template<class Expected , template< class... > class Op, class... Args>
using is_detected_exact = std::is_same< Expected, detected_t< Op, Args... > >
 Similar to TS Fundamentals 2 std::is_detected_exact More...
 
template<class To , template< class... > class Op, class... Args>
using is_detected_convertible = std::is_convertible< detected_t< Op, Args... >, To >
 Similar to TS Fundamentals 2 std::is_detected_exact_v More...
 
Fork me on GitHub