00001 // ======================================================================== // 00002 // // 00003 // File : boost_util.cpp // 00004 // Purpose : // 00005 // Time-stamp: <Wed Nov/13/2002 08:30 MET Coder@ReallySoft.de> // 00006 // // 00007 // (C) May 2002 by Ralf Westram // 00008 // // 00009 // Permission to use, copy, modify, distribute and sell this software // 00010 // and its documentation for any purpose is hereby granted without fee, // 00011 // provided that the above copyright notice appear in all copies and // 00012 // that both that copyright notice and this permission notice appear // 00013 // in supporting documentation. // 00014 // // 00015 // Ralf Westram makes no representations about the suitability of this // 00016 // software for any purpose. It is provided "as is" without express or // 00017 // implied warranty. // 00018 // // 00019 // ======================================================================== // 00020 00021 #include "boost_util.h" 00022 #include <Err.h> 00023 00024 using namespace std; 00025 using namespace rs; 00026 00027 namespace rs { 00028 namespace rs_boost { 00029 void second_instance_error() { 00030 throw rs::err::InternalError("It's not allowed to construct more than one instance of a singleton"); 00031 } 00032 }; 00033 }; 00034 00035
Contact me in case of errors or questions. This documentation is powered by . |
(C) 2000-2002 |