WPILibC++ 2024.3.2
detected.h File Reference
#include <type_traits>
#include <wpi/detail/meta/void_t.h>

Go to the source code of this file.

Classes

struct  detail::nonesuch
 
struct  detail::detector< Default, AlwaysVoid, Op, Args >
 
struct  detail::detector< Default, void_t< Op< Args... > >, Op, Args... >
 
struct  detail::is_detected_lazy< Op, Args >
 

Namespaces

namespace  detail
 detail namespace with internal helper functions
 

Typedefs

template<template< class... > class Op, class... Args>
using detail::is_detected = typename detector< nonesuch, void, Op, Args... >::value_t
 
template<template< class... > class Op, class... Args>
using detail::detected_t = typename detector< nonesuch, void, Op, Args... >::type
 
template<class Default , template< class... > class Op, class... Args>
using detail::detected_or = detector< Default, void, Op, Args... >
 
template<class Default , template< class... > class Op, class... Args>
using detail::detected_or_t = typename detected_or< Default, Op, Args... >::type
 
template<class Expected , template< class... > class Op, class... Args>
using detail::is_detected_exact = std::is_same< Expected, detected_t< Op, Args... > >
 
template<class To , template< class... > class Op, class... Args>
using detail::is_detected_convertible = std::is_convertible< detected_t< Op, Args... >, To >