Use boost::void_t

fix #905
This commit is contained in:
Vinnie Falco committed 2018-04-24 15:14:37 -07:00
1 parent 14392d7f52
commit c5d4f8eede
2 files changed
+5 -2

No files matched your search

+1
View File
@@ -1,6 +1,7 @@
Version 169:
* Use buffers_to_string in tests
* Use boost::void_t
--------------------------------------------------------------------------------
@@ -59,8 +59,10 @@ max_alignof()
}
// (since C++17)
template<class... Ts> struct make_void { using type = void; };
template<class... Ts> using void_t = typename make_void<Ts...>::type;
template<class... Ts>
using make_void = boost::make_void<Ts...>;
template<class... Ts>
using void_t = boost::void_t<Ts...>;
// (since C++11) missing from g++4.8
template<std::size_t Len, class... Ts>