1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

add C++14 version result_of / fix is_destructible

This commit is contained in:
bolero-MURAKAMI 2015-04-02 19:48:01 +09:00
parent 1507d435f9
commit d79df43c55
6 changed files with 217 additions and 17 deletions

View file

@ -8,8 +8,8 @@
#ifndef SPROUT_WEED_ATTR_CNV_RESULTS_MEM_PTR_HPP
#define SPROUT_WEED_ATTR_CNV_RESULTS_MEM_PTR_HPP
#include <type_traits>
#include <sprout/config.hpp>
#include <sprout/type_traits/std_type_traits.hpp>
namespace sprout {
namespace weed {
@ -20,7 +20,7 @@ namespace sprout {
//
template<typename T, typename U, typename = void>
struct mem_ptr
: public std::result_of<U(T)>
: public sprout::result_of<U(T)>
{};
} // namespace results
} // namespace attr_cnv