Ejemplo n.º 1
0
 int compare_string(Left const &l,Char const *begin)
 {
     Char const *end = begin;
     while(*end!=0)
         end++;
     return compare_text(l.begin(),l.end(),begin,end);
 }
Ejemplo n.º 2
0
 int compare_text(Left const &l,Right const &r)
 {
     return compare_text(l.begin(),l.end(),r.begin(),r.end());
 }