cpp-ipc/include/libimp/generic.h
2022-04-23 18:30:43 +08:00

21 lines
402 B
C++

/**
* @file libimp/generic.h
* @author mutouyun (orz@orzz.org)
* @brief Tools for generic programming
* @date 2022-03-01
*/
#pragma once
#include "libimp/def.h"
LIBIMP_NAMESPACE_BEG_
/**
* @brief Utility metafunction that maps a sequence of any types to the type void
* @see https://en.cppreference.com/w/cpp/types/void_t
*/
template <typename...>
using void_t = void;
LIBIMP_NAMESPACE_END_