|
Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
|
#include <list>#include <cstddef>#include <stdexcept>#include <rw_lists.h>#include <rw_driver.h>#include <rw_allocator.h>#include <rw_char.h>#include <rw_new.h>
Go to the source code of this file.
Macros | |
| #define | Size(sig) ListIds::size_ ## sig |
| #define | MaxSize(sig) ListIds::max_size_ ## sig |
| #define | Resize(sig) ListIds::resize_ ## sig |
| #define | Clear(sig) ListIds::clear_ ## sig |
| #define | Empty(sig) ListIds::empty_ ## sig |
| #define | TEST(str, res) |
| #define | TEST(str) |
| #define | TEST(str, size, val, res, bthrow) |
| #define | TEST(str, size, res, bthrow) |
| #define | TEST(str) |
| #define | TEST(str, res) |
| #define | TEST(gsig, sig) |
Functions | |
| template<class T , class Allocator > | |
| void | test_capacity (T *, Allocator *, const ContainerTestCaseData< T > &tdata) |
| DEFINE_CONTAINER_TEST_FUNCTIONS (test_capacity) | |
| int | main (int argc, char **argv) |
| #define Clear | ( | sig | ) | ListIds::clear_ ## sig |
Definition at line 43 of file 23.list.capacity.cpp.
| #define Empty | ( | sig | ) | ListIds::empty_ ## sig |
Definition at line 44 of file 23.list.capacity.cpp.
| #define MaxSize | ( | sig | ) | ListIds::max_size_ ## sig |
Definition at line 41 of file 23.list.capacity.cpp.
| #define Resize | ( | sig | ) | ListIds::resize_ ## sig |
Definition at line 42 of file 23.list.capacity.cpp.
| #define Size | ( | sig | ) | ListIds::size_ ## sig |
23.list.capacity.cpp - test exercising [lib.list.capacity]
$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.
Definition at line 40 of file 23.list.capacity.cpp.
| #define TEST | ( | gsig, | |
| sig | |||
| ) |
| #define TEST | ( | str | ) |
| #define TEST | ( | str | ) |
| DEFINE_CONTAINER_TEST_FUNCTIONS | ( | test_capacity | ) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 601 of file 23.list.capacity.cpp.
| void test_capacity | ( | T * | , |
| Allocator * | , | ||
| const ContainerTestCaseData< T > & | tdata | ||
| ) |
Definition at line 346 of file 23.list.capacity.cpp.