1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

Remove enable_if_t.

This commit is contained in:
Matias Fontanini
2015-04-02 21:58:41 -07:00
parent 992d187b04
commit 021f596cf0

View File

@@ -207,10 +207,6 @@ struct is_unsigned_integral<uint64_t> {
#if TINS_IS_CXX11 #if TINS_IS_CXX11
// Part of C++14 standard library
template<bool B, class T = void>
using enable_if_t = typename std::enable_if<B,T>::type;
// Template metaprogramming trait to determine if a functor can accept another parameter as an argument // Template metaprogramming trait to determine if a functor can accept another parameter as an argument
template <class T, class P, class=void> template <class T, class P, class=void>
struct accepts_type : std::false_type { }; struct accepts_type : std::false_type { };