ML Reference
mlTemplateHelpers.h File Reference
#include "mlTypeDefs.h"

Go to the source code of this file.

Classes

struct  ml::Overload< Ts >
 
struct  ml::internal::voider<... >
 
struct  ml::internal::nonesuch
 
struct  ml::internal::detector< Default, class, Op, Args >
 
struct  ml::internal::detector< Default, void_t< Op< Args... > >, Op, Args... >
 

Namespaces

namespace  ml
 Main documentation file for ML users and developers.
 
namespace  ml::internal
 

Typedefs

template<typename... Ts>
using ml::internal::void_t = typename voider<Ts...>::type
 
template<template< class... > class Op, class... Args>
using ml::is_detected = typename internal::detector<internal::nonesuch, void, Op, Args...>::value_t
 
template<template< class... > class Op, class... Args>
using ml::detected_t = typename internal::detector<internal::nonesuch, void, Op, Args...>::type
 

Functions

template<class... Ts>
 ml::Overload (Ts...) -> Overload< Ts... >
 

Variables

template<template< class... > class Op, class... Args>
constexpr bool ml::is_detected_v = is_detected<Op, Args...>::value