lua-users home
lua-l archive

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

On Wed, Aug 26, 2020 at 7:01 AM Roberto Ierusalimschy
<> wrote:
> > What about strings accessed via upvalue pseudo-indexes?
> They should be valid while the corresponding call is active. Documenting
> it is in my "todo" list.
> -- Roberto

I hope uservalue objects will never get moved, because it would be
impossible to store most C++ objects in uservalues (only those types T
which have the property "trivially copyable" could be used, which
excludes most interesting C++ types like maps, vectors, lists etc.).