parameters: (filename, clean_lines, linenum, error)
docstring: Check that make_pair's template arguments are deduced.
  
    G++ 4.6 in C++0x mode fails badly if make_pair's template arguments are
    specified explicitly, and such use isn't intended in any case.
  
    Args:
      filename: The name of the current file.
      clean_lines: A CleansedLines instance containing the file.
      linenum: The number of the line to check.
      error: The function to call with any errors found.
docstring_summary: Check that make_pair's template arguments are deduced.
docstring_tokens: Check that make_pair s template arguments are deduced .
function: def CheckMakePairUsesDeduction(filename, clean_lines, linenum, error):
    """Check that make_pair's template arguments are deduced.
  
    G++ 4.6 in C++0x mode fails badly if make_pair's template arguments are
    specified explicitly, and such use isn't intended in any case.
  
    Args:
      filename: The name of the current file.
      clean_lines: A CleansedLines instance containing the file.
      linenum: The number of the line to check.
      error: The function to call with any errors found.
    """
    line = clean_lines.elided[linenum]
    match = _RE_PATTERN_EXPLICIT_MAKEPAIR.search(line)
    if match:
      error(filename, linenum, 'build/explicit_make_pair',
            4,  # 4 = high confidence
            'For C++11-compatibility, omit template arguments from make_pair'
            ' OR use pair directly OR if appropriate, construct a pair directly')
function_tokens: def CheckMakePairUsesDeduction ( filename , clean_lines , linenum , error ) : line = clean_lines . elided [ linenum ] match = _RE_PATTERN_EXPLICIT_MAKEPAIR . search ( line ) if match : error ( filename , linenum , 'build/explicit_make_pair' , 4 , # 4 = high confidence 'For C++11-compatibility, omit template arguments from make_pair' ' OR use pair directly OR if appropriate, construct a pair directly' )