parameters: (self, d)
return_statement: return self.check_cxx(fragment=BOOST_VERSION_CODE, includes=[d], execute=True, define_ret=True)
docstring: silently retrieve the boost version number
docstring_summary: silently retrieve the boost version number
docstring_tokens: silently retrieve the boost version number
function: def boost_get_version(self, d):
  	"""silently retrieve the boost version number"""
  	node = self.__boost_get_version_file(d)
  	if node:
  		try:
  			txt = node.read()
  		except (OSError, IOError):
  			Logs.error("Could not read the file %r" % node.abspath())
  		else:
  			re_but = re.compile('^#define\\s+BOOST_LIB_VERSION\\s+"(.*)"', re.M)
  			m = re_but.search(txt)
  			if m:
  				return m.group(1)
  	return self.check_cxx(fragment=BOOST_VERSION_CODE, includes=[d], execute=True, define_ret=True)
function_tokens: def boost_get_version ( self , d ) : node = self . __boost_get_version_file ( d ) if node : try : txt = node . read ( ) except ( OSError , IOError ) : Logs . error ( "Could not read the file %r" % node . abspath ( ) ) else : re_but = re . compile ( '^#define\\s+BOOST_LIB_VERSION\\s+"(.*)"' , re . M ) m = re_but . search ( txt ) if m : return m . group ( 1 ) return self . check_cxx ( fragment = BOOST_VERSION_CODE , includes = [ d ] , execute = True , define_ret = True )