Created
October 27, 2014 14:40
-
-
Save jeremyherbert/f09e1e4f93a11e3802a3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/home/jeremy/fun/src/unit_test/../Selene/include/selene/Obj.h(67): error: an rvalue reference cannot be bound to an lvalue | |
detected during: | |
instantiation of "void sel::Obj<T, Members...>::_register_member(lua_State *, T *, const char *, Ret (T::*)(Args...)) [with T=std::vector<int, std::allocator<int>>, Members=<const char *, void (std::vector<int, std::allocator<int>>::*)(int &&)>, Ret=void, Args=<int &&>]" | |
(82): here | |
instantiation of "void sel::Obj<T, Members...>::_register_members(lua_State *, T *, const char *, M, Ms...) [with T=std::vector<int, std::allocator<int>>, Members=<const char *, void (std::vector<int, std::allocator<int>>::*)(int &&)>, M=void (std::vector<int, std::allocator<int>>::*)(int &&), Ms=<>]" | |
(88): here | |
instantiation of "sel::Obj<T, Members...>::Obj(lua_State *, T *, Members...) [with T=std::vector<int, std::allocator<int>>, Members=<const char *, void (std::vector<int, std::allocator<int>>::*)(int &&)>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/Registry.h(64): here | |
instantiation of "void sel::Registry::RegisterObj(T &, Funs...) [with T=std::vector<int, std::allocator<int>>, Funs=<const char *, void (std::vector<int, std::allocator<int>>::*)(int &&)>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/Registry.h(58): here | |
instantiation of "void sel::Registry::Register(T &, std::tuple<Funs...>, sel::detail::_indices<N...>) [with T=std::vector<int, std::allocator<int>>, Funs=<const char *, void (std::vector<int, std::allocator<int>>::*)(int &&)>, N=<0UL, 1UL>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/Registry.h(53): here | |
instantiation of "void sel::Registry::Register(T &, std::tuple<Funs...>) [with T=std::vector<int, std::allocator<int>>, Funs=<const char *, void (std::vector<int, std::allocator<int>>::*)(int &&)>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/Selector.h(193): here | |
instantiation of "void sel::Selector::SetObj(T &, Funs...) [with T=std::vector<int, std::allocator<int>>, Funs=<const char *, void (std::vector<int, std::allocator<int>>::*)(int &&)>]" | |
/home/jeremy/fun/src/unit_test/unit_test_selene.cu(22): here | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/BaseFun.h(36): error: no instance of overloaded function "sel::detail::_check_get" matches the argument list | |
argument types are: (sel::detail::_id<int &&>, lua_State *, unsigned long) | |
detected during: | |
instantiation of "std::tuple<T...> sel::detail::_get_args<T...,N...>(lua_State *, sel::detail::_indices<N...>) [with T=<int &&>, N=<0UL>]" | |
(42): here | |
instantiation of "std::tuple<T...> sel::detail::_get_args<T...>(lua_State *) [with T=<int &&>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/ObjFun.h(61): here | |
instantiation of "int sel::ObjFun<0, void, Args...>::Apply(lua_State *) [with Args=<int &&>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/ObjFun.h(56): here | |
implicit generation of "sel::ObjFun<0, void, Args...>::~ObjFun() [with Args=<int &&>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/ObjFun.h(56): here | |
instantiation of class "sel::ObjFun<0, void, Args...> [with Args=<int &&>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/ObjFun.h(56): here | |
[ 3 instantiation contexts not shown ] | |
instantiation of "sel::Obj<T, Members...>::Obj(lua_State *, T *, Members...) [with T=std::vector<int, std::allocator<int>>, Members=<const char *, void (std::vector<int, std::allocator<int>>::*)(int &&)>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/Registry.h(64): here | |
instantiation of "void sel::Registry::RegisterObj(T &, Funs...) [with T=std::vector<int, std::allocator<int>>, Funs=<const char *, void (std::vector<int, std::allocator<int>>::*)(int &&)>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/Registry.h(58): here | |
instantiation of "void sel::Registry::Register(T &, std::tuple<Funs...>, sel::detail::_indices<N...>) [with T=std::vector<int, std::allocator<int>>, Funs=<const char *, void (std::vector<int, std::allocator<int>>::*)(int &&)>, N=<0UL, 1UL>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/Registry.h(53): here | |
instantiation of "void sel::Registry::Register(T &, std::tuple<Funs...>) [with T=std::vector<int, std::allocator<int>>, Funs=<const char *, void (std::vector<int, std::allocator<int>>::*)(int &&)>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/Selector.h(193): here | |
instantiation of "void sel::Selector::SetObj(T &, Funs...) [with T=std::vector<int, std::allocator<int>>, Funs=<const char *, void (std::vector<int, std::allocator<int>>::*)(int &&)>]" | |
/home/jeremy/fun/src/unit_test/unit_test_selene.cu(22): here | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/BaseFun.h(24): error: function "std::function<_Res (_ArgTypes...)>::operator() [with _Res=void, _ArgTypes=<int &&>]" cannot be called with the given argument list | |
argument types are: (int) | |
object type is: std::function<void (int &&)> | |
detected during: | |
instantiation of "Ret sel::detail::_lift(std::function<Ret (Args...)>, std::tuple<Args...>, sel::detail::_indices<N...>) [with Ret=void, Args=<int &&>, N=<0UL>]" | |
(30): here | |
instantiation of "Ret sel::detail::_lift(std::function<Ret (Args...)>, std::tuple<Args...>) [with Ret=void, Args=<int &&>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/ObjFun.h(62): here | |
instantiation of "int sel::ObjFun<0, void, Args...>::Apply(lua_State *) [with Args=<int &&>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/ObjFun.h(56): here | |
implicit generation of "sel::ObjFun<0, void, Args...>::~ObjFun() [with Args=<int &&>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/ObjFun.h(56): here | |
instantiation of class "sel::ObjFun<0, void, Args...> [with Args=<int &&>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/ObjFun.h(56): here | |
[ 3 instantiation contexts not shown ] | |
instantiation of "sel::Obj<T, Members...>::Obj(lua_State *, T *, Members...) [with T=std::vector<int, std::allocator<int>>, Members=<const char *, void (std::vector<int, std::allocator<int>>::*)(int &&)>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/Registry.h(64): here | |
instantiation of "void sel::Registry::RegisterObj(T &, Funs...) [with T=std::vector<int, std::allocator<int>>, Funs=<const char *, void (std::vector<int, std::allocator<int>>::*)(int &&)>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/Registry.h(58): here | |
instantiation of "void sel::Registry::Register(T &, std::tuple<Funs...>, sel::detail::_indices<N...>) [with T=std::vector<int, std::allocator<int>>, Funs=<const char *, void (std::vector<int, std::allocator<int>>::*)(int &&)>, N=<0UL, 1UL>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/Registry.h(53): here | |
instantiation of "void sel::Registry::Register(T &, std::tuple<Funs...>) [with T=std::vector<int, std::allocator<int>>, Funs=<const char *, void (std::vector<int, std::allocator<int>>::*)(int &&)>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/Selector.h(193): here | |
instantiation of "void sel::Selector::SetObj(T &, Funs...) [with T=std::vector<int, std::allocator<int>>, Funs=<const char *, void (std::vector<int, std::allocator<int>>::*)(int &&)>]" | |
/home/jeremy/fun/src/unit_test/unit_test_selene.cu(22): here | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/BaseFun.h(30): error: function "std::tuple<_Elements...>::tuple(const std::tuple<_Elements...> &) [with _Elements=<int &&>]" | |
/usr/include/c++/4.8/tuple(407): here cannot be referenced -- it is a deleted function | |
detected during: | |
instantiation of "Ret sel::detail::_lift(std::function<Ret (Args...)>, std::tuple<Args...>) [with Ret=void, Args=<int &&>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/ObjFun.h(62): here | |
instantiation of "int sel::ObjFun<0, void, Args...>::Apply(lua_State *) [with Args=<int &&>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/ObjFun.h(56): here | |
implicit generation of "sel::ObjFun<0, void, Args...>::~ObjFun() [with Args=<int &&>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/ObjFun.h(56): here | |
instantiation of class "sel::ObjFun<0, void, Args...> [with Args=<int &&>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/ObjFun.h(56): here | |
instantiation of "sel::ObjFun<0, void, Args...>::ObjFun(lua_State *, const std::string &, sel::ObjFun<0, void, Args...>::_fun_type) [with Args=<int &&>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/Obj.h(72): here | |
[ 2 instantiation contexts not shown ] | |
instantiation of "sel::Obj<T, Members...>::Obj(lua_State *, T *, Members...) [with T=std::vector<int, std::allocator<int>>, Members=<const char *, void (std::vector<int, std::allocator<int>>::*)(int &&)>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/Registry.h(64): here | |
instantiation of "void sel::Registry::RegisterObj(T &, Funs...) [with T=std::vector<int, std::allocator<int>>, Funs=<const char *, void (std::vector<int, std::allocator<int>>::*)(int &&)>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/Registry.h(58): here | |
instantiation of "void sel::Registry::Register(T &, std::tuple<Funs...>, sel::detail::_indices<N...>) [with T=std::vector<int, std::allocator<int>>, Funs=<const char *, void (std::vector<int, std::allocator<int>>::*)(int &&)>, N=<0UL, 1UL>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/Registry.h(53): here | |
instantiation of "void sel::Registry::Register(T &, std::tuple<Funs...>) [with T=std::vector<int, std::allocator<int>>, Funs=<const char *, void (std::vector<int, std::allocator<int>>::*)(int &&)>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/Selector.h(193): here | |
instantiation of "void sel::Selector::SetObj(T &, Funs...) [with T=std::vector<int, std::allocator<int>>, Funs=<const char *, void (std::vector<int, std::allocator<int>>::*)(int &&)>]" | |
/home/jeremy/fun/src/unit_test/unit_test_selene.cu(22): here | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/ObjFun.h(62): error: function "std::tuple<_Elements...>::tuple(const std::tuple<_Elements...> &) [with _Elements=<int &&>]" | |
/usr/include/c++/4.8/tuple(407): here cannot be referenced -- it is a deleted function | |
detected during: | |
instantiation of "int sel::ObjFun<0, void, Args...>::Apply(lua_State *) [with Args=<int &&>]" | |
(56): here | |
implicit generation of "sel::ObjFun<0, void, Args...>::~ObjFun() [with Args=<int &&>]" | |
(56): here | |
instantiation of class "sel::ObjFun<0, void, Args...> [with Args=<int &&>]" | |
(56): here | |
instantiation of "sel::ObjFun<0, void, Args...>::ObjFun(lua_State *, const std::string &, sel::ObjFun<0, void, Args...>::_fun_type) [with Args=<int &&>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/Obj.h(72): here | |
instantiation of "void sel::Obj<T, Members...>::_register_member(lua_State *, T *, const char *, Ret (T::*)(Args...)) [with T=std::vector<int, std::allocator<int>>, Members=<const char *, void (std::vector<int, std::allocator<int>>::*)(int &&)>, Ret=void, Args=<int &&>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/Obj.h(82): here | |
instantiation of "void sel::Obj<T, Members...>::_register_members(lua_State *, T *, const char *, M, Ms...) [with T=std::vector<int, std::allocator<int>>, Members=<const char *, void (std::vector<int, std::allocator<int>>::*)(int &&)>, M=void (std::vector<int, std::allocator<int>>::*)(int &&), Ms=<>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/Obj.h(88): here | |
instantiation of "sel::Obj<T, Members...>::Obj(lua_State *, T *, Members...) [with T=std::vector<int, std::allocator<int>>, Members=<const char *, void (std::vector<int, std::allocator<int>>::*)(int &&)>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/Registry.h(64): here | |
instantiation of "void sel::Registry::RegisterObj(T &, Funs...) [with T=std::vector<int, std::allocator<int>>, Funs=<const char *, void (std::vector<int, std::allocator<int>>::*)(int &&)>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/Registry.h(58): here | |
instantiation of "void sel::Registry::Register(T &, std::tuple<Funs...>, sel::detail::_indices<N...>) [with T=std::vector<int, std::allocator<int>>, Funs=<const char *, void (std::vector<int, std::allocator<int>>::*)(int &&)>, N=<0UL, 1UL>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/Registry.h(53): here | |
instantiation of "void sel::Registry::Register(T &, std::tuple<Funs...>) [with T=std::vector<int, std::allocator<int>>, Funs=<const char *, void (std::vector<int, std::allocator<int>>::*)(int &&)>]" | |
/home/jeremy/fun/src/unit_test/../Selene/include/selene/Selector.h(193): here | |
instantiation of "void sel::Selector::SetObj(T &, Funs...) [with T=std::vector<int, std::allocator<int>>, Funs=<const char *, void (std::vector<int, std::allocator<int>>::*)(int &&)>]" | |
/home/jeremy/fun/src/unit_test/unit_test_selene.cu(22): here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment