/home/ntakagi/work/STLport-5.1.5/stlport/exceptionGo to the documentation of this file.00001 /* 00002 * Copyright (c) 1996,1997 00003 * Silicon Graphics Computer Systems, Inc. 00004 * 00005 * Copyright (c) 1999 00006 * Boris Fomitchev 00007 * 00008 * This material is provided "as is", with absolutely no warranty expressed 00009 * or implied. Any use is at your own risk. 00010 * 00011 * Permission to use or copy this software for any purpose is hereby granted 00012 * without fee, provided the above notices are retained on all copies. 00013 * Permission to modify the code and to distribute modified code is granted, 00014 * provided the above notices are retained, and a notice that the code was 00015 * modified is included with the above copyright notice. 00016 */ 00017 00018 // This header exists solely for portability. Normally it just includes 00019 // the native header <exception>. 00020 00021 #ifndef _STLP_EXCEPTION 00022 00023 #if !defined (_STLP_OUTERMOST_HEADER_ID) 00024 # define _STLP_OUTERMOST_HEADER_ID 0x423 00025 # include <stl/_prolog.h> 00026 #elif (_STLP_OUTERMOST_HEADER_ID == 0x423) 00027 # define _STLP_DONT_POP_HEADER_ID 00028 # define _STLP_EXCEPTION 00029 #endif 00030 00031 #if (_STLP_OUTERMOST_HEADER_ID != 0x423) || defined (_STLP_DONT_POP_HEADER_ID) 00032 /* If we are here it means that we are in an include called 00033 * from the native lib which means that we can simply forward this 00034 * call to the native exception header: 00035 */ 00036 # include _STLP_NATIVE_CPP_RUNTIME_HEADER(exception) 00037 #else 00038 # include <stl/_exception.h> 00039 #endif 00040 00041 #if (_STLP_OUTERMOST_HEADER_ID == 0x423) 00042 # if !defined(_STLP_DONT_POP_HEADER_ID) 00043 # include <stl/_epilog.h> 00044 # undef _STLP_OUTERMOST_HEADER_ID 00045 # else 00046 # undef _STLP_DONT_POP_HEADER_ID 00047 # endif 00048 #endif 00049 00050 #endif /* _STLP_EXCEPTION */ 00051 00052 00053 // Local Variables: 00054 // mode:C++ 00055 // End:
Generated on Mon Mar 10 15:32:17 2008 by ![]() |