CASM  1.1.0
A Clusters Approach to Statistical Mechanics
type_traits.hh File Reference
#include <type_traits>
#include <utility>

Go to the source code of this file.

Classes

struct  notstd::make_void< Ts >
 Alias for void, to help SFINAE work. More...
 
struct  notstd::function_traits< T >
 Deduces return type and argument types for non-generic labmdas and functors. More...
 
struct  notstd::function_traits< ReturnType(ClassType::*)(Args...) const >
 
struct  notstd::function_traits< ReturnType(ClassType::*)(Args...) const >::arg< i >
 

Namespaces

 notstd
 Non-std smart pointer classes and functions.
 

Typedefs

template<typename... Ts>
using notstd::void_t = typename make_void< Ts... >::type
 Alias for void, to help SFINAE work. More...
 
template<typename F >
using notstd::first_argument_type = typename std::decay< typename function_traits< F >::template arg< 0 >::type >::type
 
template<typename F >
using notstd::second_argument_type = typename std::decay< typename function_traits< F >::template arg< 1 >::type >::type
 
template<typename F >
using notstd::return_type = typename std::decay< typename function_traits< F >::result_type >::type