summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/docs/clang-tidy/checks/google-build-explicit-make-pair.rst
blob: e3e9eeb0e973e952eaad0ee52d3ccb0f3c036438 (plain)
1
2
3
4
5
6
7
8
9
10
11
.. title:: clang-tidy - google-build-explicit-make-pair

google-build-explicit-make-pair
===============================

Check that ``make_pair``'s template arguments are deduced.

G++ 4.6 in C++11 mode fails badly if ``make_pair``'s template arguments are
specified explicitly, and such use isn't intended in any case.

Corresponding cpplint.py check name: `build/explicit_make_pair`.
OpenPOWER on IntegriCloud