mirror of
https://github.com/qicosmos/rest_rpc.git
synced 2026-08-30 00:50:48 +08:00
update for c++11
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include <type_traits>
|
||||
#include <memory>
|
||||
#include <tuple>
|
||||
|
||||
#if __cplusplus == 201103L
|
||||
|
||||
@@ -75,6 +76,9 @@ using remove_const_t = typename remove_const<T>::type;
|
||||
template<typename T>
|
||||
using remove_reference_t = typename remove_reference<T>::type;
|
||||
|
||||
template<typename T>
|
||||
using tuple_element_t = typename tuple_element<T>::type;
|
||||
|
||||
template<typename T>
|
||||
using decay_t = typename decay<T>::type;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user