Open LB-- opened 8 years ago
Consider a class hierarchy for stream classes. The base stream class calls flush in the dtor, but by that time the derived classes have already been destructed. Any solution I can think of thus far is rather unpleasant.
Consider a class hierarchy for stream classes. The base stream class calls flush in the dtor, but by that time the derived classes have already been destructed. Any solution I can think of thus far is rather unpleasant.