 
            
            
            
            
                1 Feb
                
                    2018
                
            
            
                1 Feb
                
                '18
                
            
            
            
        
    
                3:13 p.m.
            
        Gavin Lambert wrote:
If you don't like the heap usage, the same concept applies if it returns an optional instead of a pointer (assuming it has a no-fail move).
That's a big assumption, because if you had a suitable nofail moved-from state, you could just default-initialize to it and no factory or private_init_stuff would have been necessary.