Add additional type to allow for types themselves to be declared deprecated (through using statements and the like).

This commit is contained in:
ThePhD 2014-09-19 11:11:38 -04:00
parent 6121da334f
commit 4a7154b219

View File

@ -32,4 +32,13 @@
#endif // compilers #endif // compilers
#endif // SOL_DEPRECATED #endif // SOL_DEPRECATED
#endif // SOL_DEPRECATE_HPP namespace sol {
namespace detail {
template <typename T>
struct SOL_DEPRECATED deprecate_type {
using type = T;
};
} // detail
} // sol
#endif // SOL_DEPRECATE_HPP