[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Do strings move around?
- From: Gé Weijers <ge@...>
- Date: Wed, 26 Aug 2020 08:54:29 -0700
On Wed, Aug 26, 2020 at 7:01 AM Roberto Ierusalimschy
> > 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.).