[cfe-dev] [patch] [libc++] missing difference_type in advance implementation
Gonzalo BG
gonzalobg88 at gmail.com
Thu Mar 20 11:17:10 PDT 2014
The following patch fixes some missing difference_type
in the implementation of std::advance. The problem is that
depending on the type of
iterator_traits<Iterator>::difference_type
otherwise valid code fails to compile (this was the case for
my code), and warnings might show up.
Bests,
Gonzalo BG
P.S.: libcxx.llvm.org should have a small section explaining
the best way to contribute patches. I hope I posted the patch
in the correct mailing list.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140320/d46eee40/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: difference_type.patch
Type: application/octet-stream
Size: 1019 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140320/d46eee40/attachment.obj>
More information about the cfe-dev
mailing list