Support Class Library
A set of tools providing classes and utility
defines_scl_to_string.h
Go to the documentation of this file.
1 #pragma once
2 
5 #include <scl/utils/toString.h>
6 
7 namespace scl{
8  namespace tools{
9  namespace meta{
10  namespace details{
11  template <class T, class = void>
12  struct __toStringDefined : std::false_type{
13  };
14 
15  template <class T>
16  struct __toStringDefined<T, void_t<scl::utils::ToString<T>>> : std::true_type{
17  };
18  }
19 
25  template <class T>
26  inline constexpr bool defines_scl_to_string(){
28  }
29  }
30  }
31 }
void void_t
The must have.
Definition: void_t.h:10
Global namespace of the SCL.
Definition: alias.hpp:3
constexpr bool defines_scl_to_string()
Determines whether or not ToString has been specialized for the given type.