mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
prepare for base class macros
This commit is contained in:
parent
4480b7ef89
commit
bd392ee3da
|
@ -38,6 +38,16 @@ namespace sol {
|
|||
|
||||
namespace detail {
|
||||
|
||||
template <typename T>
|
||||
struct derive : std::false_type {
|
||||
typedef types<> type;
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
struct base : std::false_type {
|
||||
typedef types<> type;
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
struct has_derived {
|
||||
static bool value;
|
||||
|
|
Loading…
Reference in New Issue
Block a user