 
            
            
            
            
                24 Apr
                
                    2005
                
            
            
                24 Apr
                
                '05
                
            
            
            
        
    
                5:30 p.m.
            
        "Peter Dimov" <pdimov@mmltd.net> writes:
Use aligned_storage<> and placement new.
I think boost::optional<> should also work for this job, but the area of the interface that seems like it ought to handle the problem seems to be poorly documented so I can't be sure it does. -- Dave Abrahams Boost Consulting www.boost-consulting.com