5#if !defined (STLPORT) || defined(_STLP_USE_NAMESPACES)
30static bool str_equal(
const char* a_,
const char* b_)
37 int numbers[8] = { 0, 1, 1, 2, 2, 2, 3, 4 };
38 unique((
int*)numbers, (
int*)numbers + 8);
52 const char* labels[] = {
"Q",
"Q",
"W",
"W",
"E",
"E",
"R",
"T",
"T",
"Y",
"Y"};
54 const unsigned count =
sizeof(labels) /
sizeof(labels[0]);
70 int numbers[8] = { 0, 1, 1, 2, 2, 2, 3, 4 };
71 int result[8] = { 0, 0, 0, 0, 0, 0, 0, 0 };
88 const char* labels[] = {
"Q",
"Q",
"W",
"W",
"E",
"E",
"R",
"T",
"T",
"Y",
"Y"};
89 const char **plabels = (
const char**)labels;
91 const size_t count =
sizeof(labels) /
sizeof(labels[0]);
92 const char* uCopy[
count];
93 const char **puCopy = &uCopy[0];
_STLP_MOVE_TO_STD_NAMESPACE _OutputIter unique_copy(_InputIter __first, _InputIter __last, _OutputIter __result)
_STLP_MOVE_TO_STD_NAMESPACE void fill(_ForwardIter __first, _ForwardIter __last, const _Tp &__val)
CPPUNIT_TEST_SUITE(UniqueTest)
#define CPPUNIT_TEST_SUITE_REGISTRATION(X)
#define CPPUNIT_ASSERT(X)
GLuint GLuint GLsizei count
static bool str_equal(const char *a_, const char *b_)