• Tom Jackson's avatar
    Making Optional throw exceptions instead of assert · 22e8caf3
    Tom Jackson authored
    Summary: I'm upgrading assertions to throws, since these are fatal in all circumstances. If something is explicitly `Optional`, it makes sense to fail loudly if it is misused in this manner.
    
    Reviewed By: @yfeldblum
    
    Differential Revision: D2247612
    22e8caf3
OptionalTest.cpp 11.8 KB