sol2/sol
PrincessNyanara 77901bb654 massive rework of stack
get turned into getter<T>, matches pusher<T> and uses same semantics as std::allocator and other things used throughout the codebase
-----
userdata has its traits defined outside in new file of userdata to prevent errors when trying to use those typetraits in places before userdata.hpp gets included
userdata was changed to support returning itself via pointers or references.
rework of stack changes semantics based on T&, T*, and T&& (the last one tries to create a new userdata and move in data)
solves problems maybe presented in https://github.com/Rapptz/sol/issues/25

-----
container.hpp is attempt at solving original problem before going on wild tangent with userdata, stack, and get
is going to attempt to use userdata to allow transporation of containers losslessly, perhaps without copying need
-----
found out trying to return a std::function does not work -- not sure what do exactly?
perhaps should push c closure as last thing, but right now it is tied to a key value (code comes from table.hpp and set_function)
will just have to think over how stack arranges itself and learn what to do
2014-06-09 06:28:55 -04:00
..
container.hpp massive rework of stack 2014-06-09 06:28:55 -04:00
demangle.hpp Renamed demangling function 2014-05-31 06:08:12 -04:00
deprecate.hpp Add a newline to every sol file missing one 2014-05-29 01:47:27 -04:00
error.hpp Add a newline to every sol file missing one 2014-05-29 01:47:27 -04:00
function_types.hpp massive rework of stack 2014-06-09 06:28:55 -04:00
function.hpp massive rework of stack 2014-06-09 06:28:55 -04:00
object.hpp Fix explicit operator bool to be negated is<nil_t>() 2014-05-29 22:19:21 -04:00
proxy.hpp Revamp EnableIf and DisableIf to use a much better variadic condition checking 2014-05-31 22:04:10 -04:00
reference.hpp Add a newline to every sol file missing one 2014-05-29 01:47:27 -04:00
stack.hpp massive rework of stack 2014-06-09 06:28:55 -04:00
state.hpp Removed std::true_type/false_type from tuple_types and created a separate is_tuple trait, so that we can use ::type on tuple_types without it interfering with base typedefs in std::true/false_type 2014-05-30 19:10:08 -04:00
table.hpp massive rework of stack 2014-06-09 06:28:55 -04:00
traits.hpp massive rework of stack 2014-06-09 06:28:55 -04:00
tuple.hpp Removed std::true_type/false_type from tuple_types and created a separate is_tuple trait, so that we can use ::type on tuple_types without it interfering with base typedefs in std::true/false_type 2014-05-30 19:10:08 -04:00
types.hpp massive rework of stack 2014-06-09 06:28:55 -04:00
userdata_traits.hpp massive rework of stack 2014-06-09 06:28:55 -04:00
userdata.hpp massive rework of stack 2014-06-09 06:28:55 -04:00