Created
May 15, 2018 12:13
-
-
Save bohdantrotsenko/06854972f30444506f437f1be760bf77 to your computer and use it in GitHub Desktop.
definition of sort() in #include <algorithm>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template <class _RandomAccessIterator> | |
inline _LIBCPP_INLINE_VISIBILITY | |
void | |
sort(_RandomAccessIterator __first, _RandomAccessIterator __last) | |
{ | |
_VSTD::sort(__first, __last, __less<typename iterator_traits<_RandomAccessIterator>::value_type>()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment