lua-users home
lua-l archive

Re: Per-value metatables would be great for threads

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


2015年08月28日 19:46 GMT+02:00 Christian N. <cn00@gmx.at>:
> The fact that all 4s are the same is IMHO not (only) a limitation, it also
> reliefs us from much complexity.
The metatable can always define __eq to enforce equality.

AltStyle によって変換されたページ (->オリジナル) /