4#ifndef _Stroika_Foundation_Common_ConceptsBase_h_
5#define _Stroika_Foundation_Common_ConceptsBase_h_ 1
7#include "Stroika/Foundation/StroikaPreComp.h"
17 DISABLE_COMPILER_MSC_WARNING_START (4996);
18 DISABLE_COMPILER_GCC_WARNING_START (
"GCC diagnostic ignored \"-Wdeprecated-declarations\"");
19 DISABLE_COMPILER_CLANG_WARNING_START (
"clang diagnostic ignored \"-Wdeprecated-declarations\"");
45 template <
template <
typename...>
typename Detector,
typename T,
typename SFINAE =
void>
46 [[deprecated (
"Since Stroika v3 - use concepts")]]
constexpr inline bool is_detected_v =
false;
47 template <
template <
typename...>
typename Detector,
typename T>
48 constexpr inline bool is_detected_v<Detector, T, std::void_t<Detector<T>>> =
true;
50 DISABLE_COMPILER_MSC_WARNING_END (4996);
51 DISABLE_COMPILER_GCC_WARNING_END (
"GCC diagnostic ignored \"-Wdeprecated-declarations\"");
52 DISABLE_COMPILER_CLANG_WARNING_END (
"clang diagnostic ignored \"-Wdeprecated-declarations\"");
constexpr bool is_detected_v