Boost logo

Boost Users :

From: Alan M. Carroll (amc_at_[hidden])
Date: 2005-10-05 08:26:22


At 06:37 AM 10/5/2005, you wrote:
>Paul Giaccone wrote:
>
>>How do you close a filtering_ostream object once you have finished
>>writing to it?

Since you've noted that the destructor has the behavior you want, why not put the filtering_ostream in a scoped_ptr and .reset(0) the pointer when you're done with it?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net