[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Why do we not have an __unindex metamethod?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 14 Apr 2015 20:58:53 -0300
> Why do we not have an __unindex metamethod, that gets called when a
> key gets set to nil (either by GC or manually (including rawset))?
If you need control over set and get events for a table, use a proxy table.
In any case, rawset is for *raw* access, so no metamethods are called.