MPL11
 All Classes Namespaces Files Typedefs Macros Groups Pages
logical.hpp
Go to the documentation of this file.
1 
12 #ifndef BOOST_MPL11_FWD_LOGICAL_HPP
13 #define BOOST_MPL11_FWD_LOGICAL_HPP
14 
16 
17 
18 namespace boost { namespace mpl11 {
35  template <typename ...xs>
36  struct and_;
37 
46  template <typename ...xs>
47  struct or_;
48 
54  template <typename x>
55  struct not_;
56 
57  namespace logical_detail { template <bool> struct if_impl; }
58 
60  template <bool Condition, typename Then, typename Else>
62  typename logical_detail::if_impl<Condition>::
63  template result<Then, Else>);
64 
66  template <bool Condition, typename Then, typename Else>
68 
79  template <typename Condition, typename Then, typename Else>
80  struct if_;
81 
83  template <typename Condition, typename Then, typename Else>
85 
87  template <typename Else>
90 }} // end namespace boost::mpl11
91 
92 #endif // !BOOST_MPL11_FWD_LOGICAL_HPP
Evaluates one of two branches based on a condition.
Definition: logical.hpp:80
Manages configurable options of the library and defines utility macros.
Returns the result of short-circuit logical and (&&) on its arguments.
Definition: logical.hpp:36
Transparent alias to its argument; provided for use with if_.
Definition: logical.hpp:88
Equivalent to if_, Then, Else>.
Definition: logical.hpp:63
#define BOOST_MPL11_DOXYGEN_ALIAS(NAME,...)
Macro expanding to a struct when generating the documentation and to an alias otherwise.
Definition: config.hpp:56
Returns the result of short-circuit logical or (||) on its arguments.
Definition: logical.hpp:47
Equivalent to else_if, Then, Else>.
Definition: logical.hpp:67
Returns the logical negation (!) of its argument.
Definition: logical.hpp:55
Equivalent to if_; provided for use with if_.
Definition: logical.hpp:84