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
... or at least make its members protected to allow a subclass to do so.
swap would be substantially the same as the current resize method.
Background: I use a subclass of multi_array in order to resize during assignment to get around the most dagnerous multi_array pitfall. This works, but I'd also like to fix another longstanding inefficiency ( #24 ) while I'm at it. Unfortunately the private data members make it impossible to fix in my subclass (barring a type-punning hack).
The text was updated successfully, but these errors were encountered:
... or at least make its members protected to allow a subclass to do so.
swap
would be substantially the same as the currentresize
method.Background: I use a subclass of
multi_array
in order to resize during assignment to get around the most dagnerous multi_array pitfall. This works, but I'd also like to fix another longstanding inefficiency ( #24 ) while I'm at it. Unfortunately theprivate
data members make it impossible to fix in my subclass (barring a type-punning hack).The text was updated successfully, but these errors were encountered: