5 #if defined (STLPORT) && defined (_STLP_DEBUG) && defined (_STLP_DEBUG_MODE_THROWS) 6 # define _STLP_DO_CHECK_BAD_PREDICATE 12 #if !defined (STLPORT) || defined(_STLP_USE_NAMESPACES) 28 #if defined (_STLP_DO_CHECK_BAD_PREDICATE) 40 void bad_predicate_detected();
44 return strcmp(a_, b_) < 0 ? 1 : 0;
56 int numbers[6] = { 1, 50, -10, 11, 42, 19 };
66 char const* letters[6] = {
"bb",
"aa",
"ll",
"dd",
"qq",
"cc" };
82 {
return m_index ==
other.m_index && m_value ==
other.m_value; }
84 {
return m_value <
other.m_value; }
115 int numbers[6] = { 1, 50, -10, 11, 42, 19 };
117 sort(numbers, numbers + 6);
129 int numbers[] = { 1, 50, -10, 11, 42, 19 };
131 int count =
sizeof(numbers) /
sizeof(numbers[0]);
145 vector<bool> boolVector;
147 boolVector.push_back(
true );
148 boolVector.push_back(
false );
150 sort( boolVector.begin(), boolVector.end() );
183 bool copy_constructor_called =
false;
190 copy_constructor_called =
false;
195 #if defined (_STLP_DO_CHECK_BAD_PREDICATE) 198 int numbers[] = { 0, 0, 1, 0, 0, 1, 0, 0 };
Data(int index, int value)
_STLP_MOVE_TO_STD_NAMESPACE void sort(_RandomAccessIter __first, _RandomAccessIter __last)
GLuint GLuint GLsizei count
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG _In_opt_ PVOID Data
void bad_predicate_detected()
#define CPPUNIT_TEST_SUITE(X)
_STLP_MOVE_TO_STD_NAMESPACE void stable_sort(_RandomAccessIter __first, _RandomAccessIter __last)
#define CPPUNIT_TEST_SUITE_END()
GLboolean GLboolean GLboolean b
static bool string_less(const char *a_, const char *b_)
SortTestAux(SortTestAux const &other)
bool operator<(const TKeyDef &t1, const TKeyDef &t2)
bool operator==(const TKeyDef &t1, const TKeyDef &t2)
#define CPPUNIT_ASSERT(X)
static HINSTANCE instance
int strcmp(const char *String1, const char *String2)
CPPUNIT_TEST_SUITE_REGISTRATION(SortTest)