You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
public interface of unique_resource should be minimal.
Describe the solution you'd like
the make_unique_resource_checked factory requires a special constructor that should be private and the factory be a friend.
Describe alternatives you've considered
gcc creates an ICE when factory is declared/defined as friend.
Additional context
not sure, how to specify templated factory function as friend correctly within the class template
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
public interface of
unique_resource
should be minimal.Describe the solution you'd like
the
make_unique_resource_checked
factory requires a special constructor that should be private and the factory be a friend.Describe alternatives you've considered
gcc creates an ICE when factory is declared/defined as friend.
Additional context
not sure, how to specify templated factory function as friend correctly within the class template
The text was updated successfully, but these errors were encountered: