forked from boostorg/function_types
Compare commits
2 Commits
svn-branch
...
svn-branch
Author | SHA1 | Date | |
---|---|---|---|
0c0f2e5570 | |||
594c159568 |
@ -30,8 +30,8 @@ namespace detail
|
||||
# include BOOST_PP_ASSIGN_SLOT(1)
|
||||
|
||||
BOOST_STATIC_CONSTANT(bits_t, value = (
|
||||
::boost::function_types::detail::bits<Tag>::value & BOOST_FT_default_cc
|
||||
| ::boost::function_types::detail::bits<RefTag>::value & BOOST_PP_SLOT(1)
|
||||
(::boost::function_types::detail::bits<Tag>::value & BOOST_FT_default_cc)
|
||||
| (::boost::function_types::detail::bits<RefTag>::value & BOOST_PP_SLOT(1))
|
||||
));
|
||||
};
|
||||
|
||||
|
@ -15,8 +15,8 @@ namespace detail
|
||||
template<class Tag, class RefTag> struct selector_bits
|
||||
{
|
||||
BOOST_STATIC_CONSTANT(bits_t, value = (
|
||||
::boost::function_types::detail::bits<Tag> ::value & 0x00008000
|
||||
| ::boost::function_types::detail::bits<RefTag> ::value & 802
|
||||
(::boost::function_types::detail::bits<Tag> ::value & 0x00008000)
|
||||
| (::boost::function_types::detail::bits<RefTag> ::value & 802)
|
||||
));
|
||||
};
|
||||
template<bits_t SelectorBits> struct default_cc_tag;
|
||||
|
@ -82,7 +82,7 @@ namespace detail {
|
||||
);
|
||||
|
||||
BOOST_STATIC_CONSTANT(bits_t, combined_bits =
|
||||
LHS_bits & ~RHS_mask | RHS_bits
|
||||
(LHS_bits & ~RHS_mask) | RHS_bits
|
||||
);
|
||||
|
||||
BOOST_STATIC_CONSTANT(bits_t, combined_mask =
|
||||
|
@ -53,7 +53,7 @@ BOOST_STATIC_CONSTANT(bool, match =
|
||||
RHS_bits == (LHS_bits & RHS_mask & (RHS_bits | ~0x000000ff))
|
||||
);
|
||||
BOOST_STATIC_CONSTANT(bits_t, combined_bits =
|
||||
LHS_bits & ~RHS_mask | RHS_bits
|
||||
(LHS_bits & ~RHS_mask) | RHS_bits
|
||||
);
|
||||
BOOST_STATIC_CONSTANT(bits_t, combined_mask =
|
||||
LHS_mask | RHS_mask
|
||||
|
Reference in New Issue
Block a user