Re: Implicit casting issues when binding to C++

  • From: Coda Highland <chighland@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Mon, 16 Jul 2012 09:47:19 -0700

On Mon, Jul 16, 2012 at 7:26 AM, Mike Pall <mike-1207@xxxxxxxxxx> wrote:
> Janis Britals wrote:
>> 2) the "__cast"
>> (or whatever name you can give it) metamethod on the destination type to
>> support implicit type casting. That would remove all the ugly hacks from the
>> 'lj_cconv_ct_ct'. Any chance on the second issue?
>
> Sorry, but I don't want to add anything like that to 2.0.

Would it be worth considering for 2.1?

/s/ Adam

Other related posts: