Livejournal
Log in
Post
Friends
My journal
ss_greh
Звездочки :)
Mar 14, 2006 14:22
Для:
ss_storm
Теперь есть место для звездочек :)
Leave a comment
Comments 4
*
ss_storm
March 14 2006, 11:26:19 UTC
За разъяснительную работу III степени
Reply
*
ss_storm
March 17 2006, 07:33:37 UTC
За помощь в борьбе с Уникодом
Reply
*
e_garin
July 18 2006, 07:17:36 UTC
за жэдэайхелпер
Reply
*
e_garin
December 1 2006, 16:04:01 UTC
за превращение вот этого:
bool operator ()(path const& fileName) const
{
FileMaskList::const_iterator it = masks_.begin();
FileMaskList::const_iterator itEnd = masks_.end();
for ( ; it != itEnd; ++it )
{
boost::match_results what;
if ( boost::regex_match(fileName.native_directory_string(),what,*it) )
return true;
}
return false;
}
в вот это:
bool operator()(std::string const& str) const
{
return regexs_.end() != std::find_if(regexs_.begin(), regexs_.end(),
boost::bind(
(bool(*)(std::string const&, RegExType const&, boost::match_flag_type))(boost::regex_match),
str,_1,boost::match_default));
}
Reply
Leave a comment
Up
Comments 4
Reply
Reply
Reply
bool operator ()(path const& fileName) const
{
FileMaskList::const_iterator it = masks_.begin();
FileMaskList::const_iterator itEnd = masks_.end();
for ( ; it != itEnd; ++it )
{
boost::match_results what;
if ( boost::regex_match(fileName.native_directory_string(),what,*it) )
return true;
}
return false;
}
в вот это:
bool operator()(std::string const& str) const
{
return regexs_.end() != std::find_if(regexs_.begin(), regexs_.end(),
boost::bind(
(bool(*)(std::string const&, RegExType const&, boost::match_flag_type))(boost::regex_match),
str,_1,boost::match_default));
}
Reply
Leave a comment