mclow.lists added inline comments.

================
Comment at: include/iterator:1418
@@ +1417,3 @@
+template <class _Iter>
+struct __libcpp_is_trivial_iterator<move_iterator<_Iter> >
+       : public 
_LIBCPP_BOOL_CONSTANT(__libcpp_is_trivial_iterator<_Iter>::value) {};
----------------
EricWF wrote:
> Should this trait handle `const` and `volatile` like most other traits do?
I don't think so; a const iterator cannot be incremented or decremented, so 
it's pretty useless.  Note that pointers to const (i.e, 
`__libcpp_is_trivial_iterator<move_iterator<const char *>>::value`) is already 
true. 


http://reviews.llvm.org/D15862



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to