Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Macros | Functions
21.string.iterators.cpp File Reference
#include <string>
#include <stdexcept>
#include <cstddef>
#include <rw_strings.h>
#include <rw_driver.h>
#include <rw_allocator.h>
#include <rw_char.h>
#include <rw_new.h>
Include dependency graph for 21.string.iterators.cpp:

Go to the source code of this file.

Macros

#define TEST(str, res)
 
#define TEST(str, res)
 
#define TEST(str)
 
#define TEST(str)
 
#define TEST(gsig, sig)
 

Functions

template<class charT , class Traits , class Allocator >
void test_iterators (charT *, Traits *, Allocator *, const StringTestCaseData< charT > &tdata)
 
 DEFINE_STRING_TEST_FUNCTIONS (test_iterators)
 
int main (int argc, char **argv)
 

Macro Definition Documentation

◆ TEST [1/5]

#define TEST (   gsig,
  sig 
)
Value:
{ \
gsig, sig ## _test_cases, \
sizeof sig ## _test_cases / sizeof *sig ## _test_cases \
}

◆ TEST [2/5]

#define TEST (   str)
Value:
{ \
__LINE__, -1, -1, -1, -1, -1, \
str, sizeof (str) - 1, 0, 0, \
str, sizeof (str) - 1, 0 \
}
const char * str
Definition exec.cpp:170

◆ TEST [3/5]

#define TEST (   str)
Value:
{ \
__LINE__, -1, -1, -1, -1, -1, \
str, sizeof (str) - 1, \
0, 0, 0, 0, 0 \
}

◆ TEST [4/5]

#define TEST (   str,
  res 
)
Value:
{ \
__LINE__, -1, -1, -1, -1, -1, \
str, sizeof (str) - 1, \
0, 0, 0, res, 0 \
}
#define res
Definition 17.names.cpp:531

◆ TEST [5/5]

#define TEST (   str,
  res 
)
Value:
{ \
__LINE__, -1, -1, -1, -1, -1, \
str, sizeof (str) - 1, \
0, 0, 0, res, 0 \
}

Function Documentation

◆ DEFINE_STRING_TEST_FUNCTIONS()

DEFINE_STRING_TEST_FUNCTIONS ( test_iterators  )

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 527 of file 21.string.iterators.cpp.

◆ test_iterators()

template<class charT , class Traits , class Allocator >
void test_iterators ( charT *  ,
Traits *  ,
Allocator *  ,
const StringTestCaseData< charT > &  tdata 
)

Definition at line 199 of file 21.string.iterators.cpp.