KUMI v4.0.0
Flawless Fluorite
Loading...
Searching...
No Matches
kumi::is_instance_of< T, U > Struct Template Reference

Checks if a type is an instance of a specific template. More...

#include <kumi/utils/traits.hpp>

Detailed Description

template<typename T, typename U>
struct kumi::is_instance_of< T, U >

Checks if a type is an instance of a specific template.

Template Parameters
TThe type to inspect
Uthe target template

Helper type

namespace kumi
{
template<typename T, typename U> using is_instance_of_t = typename is_instance_of_t<T,U>::type;
}
Main KUMI namespace.
Definition algorithm.hpp:11

Helper value

namespace kumi
{
template<typename T, typename U> inline constexpr bool is_instance_of_v<T,U>::value;
}