 
            
            
            
            
                1 Mar
                
                    2008
                
            
            
                1 Mar
                
                '08
                
            
            
            
        
    
                4:40 p.m.
            
        Larry Evans wrote:
I couldn't resist trying it now; ;-)
however, I'm getting wrong output :(
Hmm, I did not test it, but from looking at your source: marg_ostream& mout(void) { return std::cout; } gives you back std::cout, while it should hand back ; boost::iostreams::filtering_ostream out The state is stored in out instance of course, not cout. -- _________________________________________ _ _ | Roland Schwarz |_)(_ | aka. speedsnail | \__) | mailto:roland.schwarz@chello.at ________| http://www.blackspace.at