mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
rename type_traits is_int -> is_sint
add new type_traits is_*_unqualified
This commit is contained in:
parent
86db277625
commit
7e709630c6
12 changed files with 172 additions and 42 deletions
|
@ -11,7 +11,7 @@
|
|||
#include <type_traits>
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/type_traits/enabler_if.hpp>
|
||||
#include <sprout/type_traits/is_int.hpp>
|
||||
#include <sprout/type_traits/is_sint.hpp>
|
||||
#include <sprout/type_traits/is_uint.hpp>
|
||||
|
||||
namespace sprout {
|
||||
|
@ -56,7 +56,7 @@ namespace sprout {
|
|||
//
|
||||
template<
|
||||
int Base = 10, typename IntType,
|
||||
typename sprout::enabler_if<sprout::is_int<IntType>::value>::type = sprout::enabler
|
||||
typename sprout::enabler_if<sprout::is_sint<IntType>::value>::type = sprout::enabler
|
||||
>
|
||||
inline SPROUT_CONSTEXPR int
|
||||
int_digit_at(IntType val, int digits) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue