1 // Copyright David Abrahams 2002.
2 // Distributed under the Boost Software License, Version 1.0. (See
3 // accompanying file LICENSE_1_0.txt or copy at
4 // http://www.boost.org/LICENSE_1_0.txt)
5 #ifndef IF_ELSE_DWA2002322_HPP
6 # define IF_ELSE_DWA2002322_HPP
7 # include <boost/config.hpp>
9 namespace boost { namespace python { namespace detail {
11 template <class T> struct elif_selected;
17 struct elif : elif_selected<T>
31 # if !(defined(__MWERKS__) && __MWERKS__ <= 0x2407)
32 template <class U> class then;
35 struct then : if_selected<T>
41 # if !(defined(__MWERKS__) && __MWERKS__ <= 0x2407)
44 class elif_selected<T>::then : public if_selected<T>
49 template <bool b> struct if_
52 struct then : if_selected<T>
59 template <bool b> struct elif : if_<b>
74 struct then : if_unselected
79 }}} // namespace boost::python::detail
81 #endif // IF_ELSE_DWA2002322_HPP