MPL11
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Typedefs
Macros
Groups
Pages
boost
mpl11
integral_domain.hpp
Go to the documentation of this file.
1
12
#ifndef BOOST_MPL11_INTEGRAL_DOMAIN_HPP
13
#define BOOST_MPL11_INTEGRAL_DOMAIN_HPP
14
15
#include <
boost/mpl11/fwd/integral_domain.hpp
>
16
17
#include <
boost/mpl11/bool.hpp
>
18
#include <
boost/mpl11/core.hpp
>
19
20
21
namespace
boost {
namespace
mpl11 {
22
template
<
typename
Left,
typename
Right,
typename
>
23
struct
IntegralDomain : false_ { };
24
25
template
<
typename
x,
typename
y>
26
struct
div :
27
IntegralDomain<
28
typename datatype<typename x::type>::type,
29
typename datatype<typename y::type>::type
30
>::template div_impl<typename x::type, typename y::type>
31
{ };
32
33
template
<
typename
x,
typename
y>
34
struct
mod :
35
IntegralDomain<
36
typename datatype<typename x::type>::type,
37
typename datatype<typename y::type>::type
38
>::template mod_impl<typename x::type, typename y::type>
39
{ };
40
}}
// end namespace boost::mpl11
41
42
#endif // !BOOST_MPL11_INTEGRAL_DOMAIN_HPP
core.hpp
Defines the Core module.
integral_domain.hpp
Forward declares the Integral Domain typeclass.
bool.hpp
Forwards to boost/mpl11/integer.hpp.
Generated on Mon Jun 2 2014 16:56:38 for MPL11 by
1.8.7