fix conditional_t

This commit is contained in:
Neargye 2018-08-02 21:01:25 +05:00
parent 766c9ef8a3
commit fc2bf032d9

View file

@ -46,7 +46,7 @@ struct identity {
template <typename T> template <typename T>
struct remove_all_pointers struct remove_all_pointers
: std::conditional_t<std::is_pointer<T>::value, : std::conditional<std::is_pointer<T>::value,
remove_all_pointers<typename std::remove_pointer<T>::type>, remove_all_pointers<typename std::remove_pointer<T>::type>,
identity<T>> {}; identity<T>> {};
class cstring final { class cstring final {