|
Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
|
#include <algorithm>#include <cstring>#include <rw_alg_test.h>#include <rw_value.h>#include <rw_driver.h>
Go to the source code of this file.
Data Structures | |
| struct | StrictWeakLess< T > |
Macros | |
| #define | TEST(src, nth) test_nth_element (__LINE__, src, 0, nth, (T*)0, ppred) |
Functions | |
| _RWSTD_NAMESPACE (std) | |
| template<class T , class Predicate > | |
| void | test_nth_element (int line, const char *src, const std::size_t N, const std::size_t nth, const T *, const Predicate *ppred) |
| template<class T , class Predicate > | |
| void | test_nth_element (const T *, const Predicate *ppred) |
| int | main (int argc, char *argv[]) |
Variables | |
| int | rw_opt_nloops = 256 |
| int | rw_opt_no_predicate |
| int | rw_opt_no_complexity |
| #define TEST | ( | src, | |
| nth | |||
| ) | test_nth_element (__LINE__, src, 0, nth, (T*)0, ppred) |
| _RWSTD_NAMESPACE | ( | std | ) |
25.nth.element.cpp - test exercising 25.3.2 [lib.alg.nth.element]
$Id$
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 1994-2006 Rogue Wave Software.
Definition at line 38 of file 25.nth.element.cpp.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 301 of file 25.nth.element.cpp.
Definition at line 193 of file 25.nth.element.cpp.
| void test_nth_element | ( | int | line, |
| const char * | src, | ||
| const std::size_t | N, | ||
| const std::size_t | nth, | ||
| const T * | , | ||
| const Predicate * | ppred | ||
| ) |
Definition at line 92 of file 25.nth.element.cpp.
| int rw_opt_nloops = 256 |
Definition at line 186 of file 25.nth.element.cpp.
| int rw_opt_no_complexity |
Definition at line 188 of file 25.nth.element.cpp.
| int rw_opt_no_predicate |
Definition at line 187 of file 25.nth.element.cpp.