int2String() -> std::to_string()
This commit is contained in:
		
							parent
							
								
									71039becd1
								
							
						
					
					
						commit
						5c28943e8f
					
				
					 9 changed files with 17 additions and 24 deletions
				
			
		|  | @ -356,13 +356,6 @@ template<class N> bool string2Int(const string & s, N & n) | |||
|     return str && str.get() == EOF; | ||||
| } | ||||
| 
 | ||||
| template<class N> string int2String(N n) | ||||
| { | ||||
|     std::ostringstream str; | ||||
|     str << n; | ||||
|     return str.str(); | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| /* Return true iff `s' ends in `suffix'. */ | ||||
| bool hasSuffix(const string & s, const string & suffix); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue