fennec
Loading...
Searching...
No Matches
fennec::detect< DefaultT, DetectT, ArgsT >

Detect whether DetectT<ArgsT...> is a valid type. More...

#include <conditional_types.h>

Detailed Description

template<typename DefaultT, template< typename... > typename DetectT, typename... ArgsT>
struct fennec::detect< DefaultT, DetectT, ArgsT >

Selects DetectT<ArgsT...> if it exists, otherwise selects DefaultT The chosen type is stored in detect::type and a boolean value is stored in detect::is_detected representing whether DetectT<ArgsT...> is found.

Template Parameters
DefaultTDefault type
DetectTType to detect
ArgsTAny template arguments for DetectT<ArgsT>

The documentation for this struct was generated from the following file: