mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
modify namespace result_of -> results
support C++14 type_traits
This commit is contained in:
parent
d386893a74
commit
bf0c7021cf
350 changed files with 2628 additions and 1912 deletions
|
@ -37,7 +37,7 @@ namespace sprout {
|
|||
SPROUT_STATIC_CONSTEXPR std::size_t next_size = Size / 2;
|
||||
SPROUT_STATIC_CONSTEXPR std::size_t shift_bits = next_size * CHAR_BIT;
|
||||
public:
|
||||
template <typename IntType>
|
||||
template<typename IntType>
|
||||
SPROUT_CONSTEXPR IntType
|
||||
operator()(IntType x) const {
|
||||
return (sprout::detail::bit_rev<next_size>().template operator()(x) << shift_bits)
|
||||
|
@ -72,7 +72,7 @@ namespace sprout {
|
|||
//
|
||||
// bit_reverse_in
|
||||
//
|
||||
template <typename IntType>
|
||||
template<typename IntType>
|
||||
inline SPROUT_CONSTEXPR typename std::enable_if<
|
||||
std::is_integral<IntType>::value,
|
||||
IntType
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue