Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
21.string.assign.stdcxx-629.cpp
Go to the documentation of this file.
1
29#include <cassert>
30#include <string>
31
32int 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}
#define s
#define assert(expr)
Definition _cassert.h:40