From bd392ee3dadca38f65b3dfb8372d61aaeb44336e Mon Sep 17 00:00:00 2001 From: ThePhD Date: Fri, 15 Jun 2018 21:13:45 -0400 Subject: [PATCH] prepare for base class macros --- sol/inheritance.hpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sol/inheritance.hpp b/sol/inheritance.hpp index d8537a79..886cef78 100644 --- a/sol/inheritance.hpp +++ b/sol/inheritance.hpp @@ -38,6 +38,16 @@ namespace sol { namespace detail { + template + struct derive : std::false_type { + typedef types<> type; + }; + + template + struct base : std::false_type { + typedef types<> type; + }; + template struct has_derived { static bool value;