Lots of windows fixes and some more improvements.
This commit is contained in:
@@ -16,8 +16,26 @@ namespace mijin
|
||||
//
|
||||
|
||||
#if !defined(MIJIN_BOXED_OBJECT_DEBUG)
|
||||
#if defined(MIJIN_DEBUG)
|
||||
#define MIJIN_BOXED_OBJECT_DEBUG MIJIN_DEBUG
|
||||
#else
|
||||
#define MIJIN_BOXED_OBJECT_DEBUG 0
|
||||
#endif
|
||||
#endif // !defined(MIJIN_BOXED_OBJECT_DEBUG)
|
||||
|
||||
#define MIJIN_BOXED_PROXY_FUNC(funcname) \
|
||||
template<typename... TFuncArgs> \
|
||||
decltype(auto) funcname(TFuncArgs&&... args) \
|
||||
{ \
|
||||
return base_t::get().funcname(std::forward<TFuncArgs>(args)...); \
|
||||
}
|
||||
|
||||
#define MIJIN_BOXED_PROXY_FUNC_CONST(funcname) \
|
||||
template<typename... TFuncArgs> \
|
||||
decltype(auto) funcname(TFuncArgs&&... args) const \
|
||||
{ \
|
||||
return base_t::get().funcname(std::forward<TFuncArgs>(args)...); \
|
||||
}
|
||||
|
||||
//
|
||||
// public constants
|
||||
|
||||
Reference in New Issue
Block a user