Skip to content

Conversation

Wentzell
Copy link
Member

Whenever we access a member of a wrapped class where the type of the member is itself wrapped,
we should not copy but instead provide a new reference to the member which guarantees to keep the parent object alive.

Wentzell added 2 commits May 26, 2020 19:33
Previously member of a wrapped type were copied on access
This commit introduces an option where access of wrapped members
will avoid the copy at the cost of keeping the parent object alive
for the full lifetime of the newly generated reference
@Wentzell Wentzell force-pushed the DEV_wrapped_members_shared_access branch from 709e7a8 to 17a7bfb Compare May 26, 2020 23:35
@Wentzell Wentzell force-pushed the master branch 2 times, most recently from 3d102a0 to 035ebff Compare May 27, 2020 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant