From 175b02f7934d574778c87028edc9a6ebb97d690c Mon Sep 17 00:00:00 2001 From: "John Hodge (sonata)" Date: Fri, 23 Jan 2015 14:18:25 +0800 Subject: Autoderef on method lookup, further provements to method lookup --- src/types.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/types.hpp') diff --git a/src/types.hpp b/src/types.hpp index b40c9424..2cbbd0bb 100644 --- a/src/types.hpp +++ b/src/types.hpp @@ -126,6 +126,8 @@ public: m_inner_types( {::std::move(base), ::std::move(trait)} ) {} + /// Dereference the type (return the result of *type_instance) + bool deref(bool is_implicit); /// Merge with another type (combines known aspects, conflitcs cause an exception) void merge_with(const TypeRef& other); /// Replace 'GENERIC' entries with the return value of the closure -- cgit v1.2.3