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
|
@ -9,7 +9,7 @@
|
|||
#define SPROUT_WEED_ATTR_CNV_MEM_PTR_HPP
|
||||
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/weed/attr_cnv/result_of/mem_ptr.hpp>
|
||||
#include <sprout/weed/attr_cnv/results/mem_ptr.hpp>
|
||||
|
||||
namespace sprout {
|
||||
namespace weed {
|
||||
|
@ -18,7 +18,7 @@ namespace sprout {
|
|||
// mem_ptr
|
||||
//
|
||||
template<typename T, typename U>
|
||||
inline SPROUT_CONSTEXPR typename sprout::weed::attr_cnv::result_of::mem_ptr<T, U>::type
|
||||
inline SPROUT_CONSTEXPR typename sprout::weed::attr_cnv::results::mem_ptr<T, U>::type
|
||||
mem_ptr(T const& t, U const& u) {
|
||||
return u(t);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue