Dispatch Queue
Dispatch Queue / Thread Pool implementation for C++11 with built-in C++20 coroutine support
 
Loading...
Searching...
No Matches
is_instance_of.hpp
1#pragma once
2
3#include <type_traits>
4
5namespace dispatch_queue {
6
7namespace detail {
8
9template<class T, template<class...> class U>
10struct is_instance_of : public std::false_type {};
11
12template<template<class...> class U, class... Vs>
13struct is_instance_of<U<Vs...>,U> : public std::true_type {};
14
15} // end namespace detail
16
17} // end namespace dispatch_queue
Definition is_instance_of.hpp:10