mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Add additional type to allow for types themselves to be declared deprecated (through using statements and the like).
This commit is contained in:
parent
6121da334f
commit
4a7154b219
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user