Changeset 3914


Ignore:
Timestamp:
Sep 12, 2008, 6:42:54 PM (12 years ago)
Author:
orlov
Message:
  • GExpr.add(char*, size_t)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • to-imperative/trunk/opents/samples/trefal.hh

    r3910 r3914  
    104104        t.init_char(c);
    105105        return add(t);
     106    }
     107
     108    GExpr& add (char* s, size_t len) {
     109        while (len--)
     110            add(*s++);
     111        return *this;
    106112    }
    107113
Note: See TracChangeset for help on using the changeset viewer.