4d82858daa17f0dad20459f4da948a39b5d00027
[senf.git] / senf / Utils / safe_bool.cci
1
2 // $Id$
3 //
4 // Copyright (C) 2007
5 // Fraunhofer Institute for Open Communication Systems (FOKUS)
6 // Competence Center NETwork research (NET), St. Augustin, GERMANY
7 //     Stefan Bund <g0dil@berlios.de>
8 //
9 // This program is free software; you can redistribute it and/or modify
10 // it under the terms of the GNU General Public License as published by
11 // the Free Software Foundation; either version 2 of the License, or
12 // (at your option) any later version.
13 //
14 // This program is distributed in the hope that it will be useful,
15 // but WITHOUT ANY WARRANTY; without even the implied warranty of
16 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 // GNU General Public License for more details.
18 //
19 // You should have received a copy of the GNU General Public License
20 // along with this program; if not, write to the
21 // Free Software Foundation, Inc.,
22 // 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
23
24 /** \file
25     \brief safe_bool inline non-template implementation */
26
27 // Custom includes
28
29 #define prefix_ inline
30 //-/////////////////////////////////////////////////////////////////////////////////////////////////
31
32 prefix_ void senf::safe_bool_base::this_type_does_not_support_comparisons()
33     const
34 {}
35
36 prefix_ senf::safe_bool_base::safe_bool_base()
37 {}
38
39 prefix_ senf::safe_bool_base::safe_bool_base(const safe_bool_base&)
40 {}
41
42 prefix_ senf::safe_bool_base& senf::safe_bool_base::operator=(const safe_bool_base&)
43 {
44     return *this;
45 }
46
47 prefix_ senf::safe_bool_base::~safe_bool_base()
48 {}
49
50 //-/////////////////////////////////////////////////////////////////////////////////////////////////
51 #undef prefix_
52
53 \f
54 // Local Variables:
55 // mode: c++
56 // fill-column: 100
57 // c-file-style: "senf"
58 // indent-tabs-mode: nil
59 // ispell-local-dictionary: "american"
60 // compile-command: "scons -u test"
61 // comment-column: 40
62 // End: