update single

This commit is contained in:
ThePhD 2017-12-28 12:37:52 -05:00
parent 732b4bd700
commit c5defa6d07
2 changed files with 16 additions and 6 deletions

View File

@ -20,8 +20,8 @@
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// This file was generated with a script. // This file was generated with a script.
// Generated 2017-12-26 13:03:03.527337 UTC // Generated 2017-12-28 17:37:34.993013 UTC
// This header was generated with sol v2.19.0 (revision 3fa176c) // This header was generated with sol v2.19.0 (revision 732b4bd)
// https://github.com/ThePhD/sol2 // https://github.com/ThePhD/sol2
#ifndef SOL_SINGLE_INCLUDE_HPP #ifndef SOL_SINGLE_INCLUDE_HPP
@ -4896,15 +4896,25 @@ namespace sol {
}; };
template <typename T> template <typename T>
as_table_t<T> as_table(T&& container) { as_table_t<T> as_table_ref(T&& container) {
return as_table_t<T>(std::forward<T>(container)); return as_table_t<T>(std::forward<T>(container));
} }
template <typename T> template <typename T>
nested<T> as_nested(T&& container) { as_table_t<meta::unqualified_t<T>> as_table(T&& container) {
return as_table_t<meta::unqualified_t<T>>(std::forward<T>(container));
}
template <typename T>
nested<T> as_nested_ref(T&& container) {
return nested<T>(std::forward<T>(container)); return nested<T>(std::forward<T>(container));
} }
template <typename T>
nested<meta::unqualified_t<T>> as_nested(T&& container) {
return nested<meta::unqualified_t<T>>(std::forward<T>(container));
}
struct this_state { struct this_state {
lua_State* L; lua_State* L;

View File

@ -20,8 +20,8 @@
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// This file was generated with a script. // This file was generated with a script.
// Generated 2017-12-26 13:03:03.719432 UTC // Generated 2017-12-28 17:37:35.176526 UTC
// This header was generated with sol v2.19.0 (revision 3fa176c) // This header was generated with sol v2.19.0 (revision 732b4bd)
// https://github.com/ThePhD/sol2 // https://github.com/ThePhD/sol2
#ifndef SOL_SINGLE_INCLUDE_FORWARD_HPP #ifndef SOL_SINGLE_INCLUDE_FORWARD_HPP