shared from this in constructor online with Winfy
We have hosted the application shared from this in constructor in order to run this application in our online workstations with Wine or directly.
Quick description about shared from this in constructor:
Apparently, many people dislike that the standard std: : enable_shared_from_this class does not allow to invoke shared_from_this() in the constructor.Guess What: This library is supposed to fill the gap.
The boost library does that too, but it does not allow shared_ptrs to be made inside the destructor and it doesn't provide a release() method to gain ownership of the contained pointer.
Big downside is however, that it's not (yet) made thread-safe.
Features:
- shared_from_this() in Constructor and Destructor
- Drop-In replacement for std: : shared_ptr and std: : enable_shared_from_this
- NOT thread-safe
- Provides a release() method
Programming Language: C++.
.
©2024. Winfy. All Rights Reserved.
By OD Group OU – Registry code: 1609791 -VAT number: EE102345621.