Learning boost 3 -- string algorithm 1[8]

[入库:2005年8月19日] [更新:2007年3月24日]

本文简介:选择自 heroboy2000 的 blog

判断input是否以test开头。comp是比较字符的二元判断式。localstd::local

 

bool ends_with (input, test);

bool ends_with (input, test, comp)

bool iends_with(input, test, local)

判断input是否以test结尾。comp是比较字符的二元判断式。localstd::local

 

bool contains (input, test);

bool contains (input, test, comp)

bool icontains(input, test, local)

本文关键:Learning boost 3 -- string algorithm 1
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top