Last change
on this file since 1019 was
1019,
checked in by luba, 18 years ago
|
- String::fill(String&, size_t, size_t, wchar_t) method is corrected
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
310 bytes
|
Line | |
---|
1 | #include "rf_string.ih" |
---|
2 | #include "rf_expr.ih" |
---|
3 | #include "rf_types.ih" |
---|
4 | |
---|
5 | namespace rftype |
---|
6 | { |
---|
7 | |
---|
8 | using namespace rfrt ; |
---|
9 | |
---|
10 | Expr String::fill(String& _str, size_t _pos, size_t _len, wchar_t const _fill) |
---|
11 | { |
---|
12 | for (size_t i = _pos; i < _len ; i++) { |
---|
13 | _str[i] = _fill; |
---|
14 | } |
---|
15 | return Expr(new rftype::String(_str)); |
---|
16 | } |
---|
17 | |
---|
18 | |
---|
19 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.