switch to new MPL based Fraunhofer FOKUS Public License
[senf.git] / senf / Utils / safe_bool.cci
1
2 // $Id$
3 //
4 // Copyright (C) 2007
5 // Fraunhofer Institute for Open Communication Systems (FOKUS)
6 //
7 // The contents of this file are subject to the Fraunhofer FOKUS Public License
8 // Version 1.0 (the "License"); you may not use this file except in compliance
9 // with the License. You may obtain a copy of the License at 
10 // http://senf.berlios.de/license.html
11 //
12 // The Fraunhofer FOKUS Public License Version 1.0 is based on, 
13 // but modifies the Mozilla Public License Version 1.1.
14 // See the full license text for the amendments.
15 //
16 // Software distributed under the License is distributed on an "AS IS" basis, 
17 // WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 
18 // for the specific language governing rights and limitations under the License.
19 //
20 // The Original Code is Fraunhofer FOKUS code.
21 //
22 // The Initial Developer of the Original Code is Fraunhofer-Gesellschaft e.V. 
23 // (registered association), Hansastraße 27 c, 80686 Munich, Germany.
24 // All Rights Reserved.
25 //
26 // Contributor(s):
27 //   Stefan Bund <g0dil@berlios.de>
28
29 /** \file
30     \brief safe_bool inline non-template implementation */
31
32 // Custom includes
33
34 #define prefix_ inline
35 //-/////////////////////////////////////////////////////////////////////////////////////////////////
36
37 prefix_ void senf::safe_bool_base::this_type_does_not_support_comparisons()
38     const
39 {}
40
41 prefix_ senf::safe_bool_base::safe_bool_base()
42 {}
43
44 prefix_ senf::safe_bool_base::safe_bool_base(const safe_bool_base&)
45 {}
46
47 prefix_ senf::safe_bool_base& senf::safe_bool_base::operator=(const safe_bool_base&)
48 {
49     return *this;
50 }
51
52 prefix_ senf::safe_bool_base::~safe_bool_base()
53 {}
54
55 //-/////////////////////////////////////////////////////////////////////////////////////////////////
56 #undef prefix_
57
58 \f
59 // Local Variables:
60 // mode: c++
61 // fill-column: 100
62 // c-file-style: "senf"
63 // indent-tabs-mode: nil
64 // ispell-local-dictionary: "american"
65 // compile-command: "scons -u test"
66 // comment-column: 40
67 // End: