| Index: cpplint.py
|
| diff --git a/cpplint.py b/cpplint.py
|
| index 1b2a373a0764641bff198d3dda4789db034840ee..2f460a47b42832b49b6cc0081d4a5279864e0e89 100755
|
| --- a/cpplint.py
|
| +++ b/cpplint.py
|
| @@ -5244,12 +5244,15 @@ _HEADERS_CONTAINING_TEMPLATES = (
|
| ('<limits>', ('numeric_limits',)),
|
| ('<list>', ('list',)),
|
| ('<map>', ('map', 'multimap',)),
|
| - ('<memory>', ('allocator',)),
|
| + ('<memory>', ('allocator', 'make_shared', 'make_unique', 'shared_ptr',
|
| + 'unique_ptr', 'weak_ptr')),
|
| ('<queue>', ('queue', 'priority_queue',)),
|
| ('<set>', ('set', 'multiset',)),
|
| ('<stack>', ('stack',)),
|
| ('<string>', ('char_traits', 'basic_string',)),
|
| ('<tuple>', ('tuple',)),
|
| + ('<unordered_map>', ('unordered_map', 'unordered_multimap')),
|
| + ('<unordered_set>', ('unordered_set', 'unordered_multiset')),
|
| ('<utility>', ('pair',)),
|
| ('<vector>', ('vector',)),
|
|
|
| @@ -5264,7 +5267,7 @@ _HEADERS_MAYBE_TEMPLATES = (
|
| ('<algorithm>', ('copy', 'max', 'min', 'min_element', 'sort',
|
| 'transform',
|
| )),
|
| - ('<utility>', ('swap',)),
|
| + ('<utility>', ('forward', 'make_pair', 'move', 'swap')),
|
| )
|
|
|
| _RE_PATTERN_STRING = re.compile(r'\bstring\b')
|
|
|