luabind::error constructor

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

luabind::error constructor

Alexander Gladysh
Hi, all!

I think (unless there is a good reason not to do so) that
luabind::error constructor should be declared explicit. I've just
caught myself trying to blindly misuse implicit conversion from
lua_State * to luabind::error.

Thanks,
Alexander.


_______________________________________________
luabind-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/luabind-user
Reply | Threaded
Open this post in threaded view
|

Re: luabind::error constructor

Arvid Norberg-2

On Jun 20, 2006, at 20:05, Alexander Gladysh wrote:

> Hi, all!
>
> I think (unless there is a good reason not to do so) that
> luabind::error constructor should be declared explicit. I've just
> caught myself trying to blindly misuse implicit conversion from
> lua_State * to luabind::error.

Good point!

--
Arvid Norberg


_______________________________________________
luabind-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/luabind-user