mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
all type_traits support C++14 requirements
This commit is contained in:
parent
bf0c7021cf
commit
403e83eaf0
95 changed files with 319 additions and 268 deletions
|
@ -9,8 +9,8 @@
|
|||
#define SPROUT_DETAIL_INTEGER_STATIC_LOG2_HPP
|
||||
|
||||
#include <cstdint>
|
||||
#include <type_traits>
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/type_traits/integral_constant.hpp>
|
||||
|
||||
namespace sprout {
|
||||
namespace detail {
|
||||
|
@ -58,7 +58,7 @@ namespace sprout {
|
|||
|
||||
template<sprout::detail::static_log2_argument_type x>
|
||||
struct static_log2
|
||||
: public std::integral_constant<
|
||||
: public sprout::integral_constant<
|
||||
sprout::detail::static_log2_result_type,
|
||||
sprout::detail::static_log2_impl::static_log2_impl<x>::value
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue