Add remove_reference_t

This commit is contained in:
Victor Zverovich
2019-06-11 20:28:05 -07:00
parent d384cdd397
commit 4a502d9802
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -3460,7 +3460,7 @@ template <typename It> class is_output_iterator {
template <typename U> static const char& test(...);
typedef decltype(test<It>(typename it_category<It>::type{})) type;
typedef typename std::remove_reference<type>::type result;
typedef remove_reference_t<type> result;
public:
static const bool value = !std::is_const<result>::value;