Reference documentation for deal.II version 9.5.0
|
Classes | |
struct | detector |
struct | detector< Default, void_t< Op< Args... > >, Op, Args... > |
struct | nonesuch |
struct | nonesuch_base |
Typedefs | |
template<class... > | |
using | void_t = void |
template<class Default , template< class... > class Op, class... Args> | |
using | detected_or = detector< Default, void, Op, Args... > |
template<template< class... > class Op, class... Args> | |
using | is_detected = typename detected_or< nonesuch, Op, Args... >::value_t |
template<template< class... > class Op, class... Args> | |
using | detected_t = typename detected_or< nonesuch, Op, Args... >::type |
template<class Default , template< class... > class Op, class... Args> | |
using | detected_or_t = typename detected_or< Default, Op, Args... >::type |
template<class Expected , template< class... > class Op, class... Args> | |
using | is_detected_exact = std::is_same< Expected, detected_t< Op, Args... > > |
template<class To , template< class... > class Op, class... Args> | |
using | is_detected_convertible = std::is_convertible< detected_t< Op, Args... >, To > |
A namespace used to declare the machinery for detecting whether a specific class supports an operation. This approach simulates C++20-style concepts with language standards before C++20.
using internal::SupportsOperation::void_t = typedef void |
Definition at line 44 of file template_constraints.h.
using internal::SupportsOperation::detected_or = typedef detector<Default, void, Op, Args...> |
Definition at line 103 of file template_constraints.h.
using internal::SupportsOperation::is_detected = typedef typename detected_or<nonesuch, Op, Args...>::value_t |
Definition at line 106 of file template_constraints.h.
using internal::SupportsOperation::detected_t = typedef typename detected_or<nonesuch, Op, Args...>::type |
Definition at line 109 of file template_constraints.h.
using internal::SupportsOperation::detected_or_t = typedef typename detected_or<Default, Op, Args...>::type |
Definition at line 112 of file template_constraints.h.
using internal::SupportsOperation::is_detected_exact = typedef std::is_same<Expected, detected_t<Op, Args...> > |
Definition at line 115 of file template_constraints.h.
using internal::SupportsOperation::is_detected_convertible = typedef std::is_convertible<detected_t<Op, Args...>, To> |
Definition at line 118 of file template_constraints.h.