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, 'For C++11-compatibility, omit template arguments from make_pair OR use pair directly OR if appropriate, construct a pair directly')

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 , 'For C++11-compatibility, omit template arguments from make_pair OR use pair directly OR if appropriate, construct a pair directly' )
check that make_pairs template arguments are deduced .