Skip to content
Snippets Groups Projects
Commit 395b0af6 authored by Dmitri Gribenko's avatar Dmitri Gribenko
Browse files

Documentation: add an idea for a cpp14-migrate transform for N3421

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180672 91177308-0d34-0410-b5e6-96231b3b80d8
parent 99d2eb48
No related branches found
No related tags found
No related merge requests found
......@@ -175,3 +175,17 @@ can be incorporated into the ``auto`` transformation. Will convert
that don't want to use ``auto`` because they are afraid that they might lose
control over their code.
* C++14: less verbose operator function objects (`N3421
<http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3421.htm>`_).
For example:
.. code-block:: c++
sort(v.begin(), v.end(), greater<ValueType>());
should be rewritten to:
.. code-block:: c++
sort(v.begin(), v.end(), greater<>());
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment