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
|
@ -10,7 +10,7 @@
|
|||
|
||||
#include <cstddef>
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/weed/attr_cnv/result_of/modulus.hpp>
|
||||
#include <sprout/weed/attr_cnv/results/modulus.hpp>
|
||||
#include <sprout/weed/attr_cnv/times.hpp>
|
||||
|
||||
namespace sprout {
|
||||
|
@ -20,7 +20,7 @@ namespace sprout {
|
|||
// modulus
|
||||
//
|
||||
template<std::size_t Limit, typename T, typename... Args>
|
||||
inline SPROUT_CONSTEXPR typename sprout::weed::attr_cnv::result_of::modulus<Limit, T>::type
|
||||
inline SPROUT_CONSTEXPR typename sprout::weed::attr_cnv::results::modulus<Limit, T>::type
|
||||
modulus(Args const&... args) {
|
||||
return sprout::weed::attr_cnv::times<Limit, T>(args...);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue