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.assign.stdcxx-629.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
.assign (
s
.rbegin () + 1,
s
.rend ());
37
assert
(
"ba"
==
s
);
38
39
return
0;
40
}
s
#define s
Definition
rw_alg_test.h:221
main
int main()
Definition
21.string.assign.stdcxx-629.cpp:32
assert
#define assert(expr)
Definition
_cassert.h:40
Generated by
1.9.8