Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Main Page
Related Pages
Topics
Namespaces
Data Structures
Files
File List
Globals
EXTERNAL_HEADERS
RSL
tests
regress
21.string.insert.stdcxx-632.cpp
Go to the documentation of this file.
1
29
#include <cassert>
30
#include <string>
31
32
int
main
()
33
{
34
std::string
s
(
"abc"
);
35
36
s
.insert (
s
.begin (),
s
.rbegin () + 1,
s
.rbegin () + 2);
37
38
assert
(
"babc"
==
s
);
39
40
s
=
"abc"
;
41
42
typedef
const
unsigned
char
UChar
;
43
s
.insert (
s
.begin (), (
UChar
*)&
s
[1], (
UChar
*)&
s
[2]);
44
45
assert
(
"babc"
==
s
);
46
47
return
0;
48
}
s
#define s
Definition
rw_alg_test.h:221
main
int main()
Definition
21.string.insert.stdcxx-632.cpp:32
assert
#define assert(expr)
Definition
_cassert.h:40
UChar
unsigned char UChar
Definition
collate.cpp:122
Generated by
1.9.8