|
Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
|
#include <cassert>#include <cstddef>#include <stdexcept>#include <string>#include <rw_driver.h>#include <rw_new.h>
Go to the source code of this file.
Typedefs | |
| typedef int | Char |
| typedef std::char_traits< Char > | CharTraits |
| typedef std::allocator< Char > | CharAllocator |
| typedef std::basic_string< Char, CharTraits, CharAllocator > | String |
Functions | |
| _RWSTD_NAMESPACE (std) | |
| void | user_throw (int ex_id, char *what) |
| int | main (int argc, char *argv[]) |
Variables | |
| const Char | s [] |
| const String | s0 (s) |
| typedef int Char |
21.string.exceptions.cpp - test string members that throw exceptions
$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-2008 Rogue Wave Software.
Definition at line 54 of file 21.string.exceptions.cpp.
| typedef std::allocator<Char> CharAllocator |
Definition at line 57 of file 21.string.exceptions.cpp.
| typedef std::char_traits<Char> CharTraits |
Definition at line 56 of file 21.string.exceptions.cpp.
| typedef std::basic_string<Char, CharTraits, CharAllocator> String |
Definition at line 59 of file 21.string.exceptions.cpp.
| _RWSTD_NAMESPACE | ( | std | ) |
Definition at line 62 of file 21.string.exceptions.cpp.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 821 of file 21.string.exceptions.cpp.
| void user_throw | ( | int | ex_id, |
| char * | what | ||
| ) |
Definition at line 85 of file 21.string.exceptions.cpp.
| const Char s[] |
Definition at line 154 of file 21.string.exceptions.cpp.