• Marc Horowitz's avatar
    make with_exception() const work in all cases · 9d4d4b00
    Marc Horowitz authored
    Summary:
    Abstract the with_exception() logic into a static template
    function which will work with a const or non-const object.
    
    Test Plan: exception_wrapper_test
    
    Reviewed By: vloh@fb.com
    
    Subscribers: njormrod
    
    FB internal diff: D1549175
    
    Tasks: 5127267
    9d4d4b00
ExceptionWrapperTest.cpp 5.84 KB