Support Class Library
A set of tools providing classes and utility
include
scl
tools
meta
is_convertible.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <type_traits>
4
5
namespace
scl
{
6
namespace
tools{
7
namespace
meta{
8
/*template <class From, class To>
9
struct is_convertible{
10
static constexpr bool v = std::is_convertible<From, To>::value;
11
};*/
12
16
template
<
class
From,
class
To>
17
inline
constexpr
bool
is_convertible
(){
18
return
std::is_convertible<From, To>::value;
19
}
20
}
21
}
22
}
scl
Global namespace of the SCL.
Definition:
alias.hpp:3
scl::tools::meta::is_convertible
constexpr bool is_convertible()
An handy function for the result of std::is_convertible.
Definition:
is_convertible.h:17
Generated by
1.8.13