• Peter Griess's avatar
    Detect C++ implementations that support constexpr strlen() · e5b563e9
    Peter Griess authored
    Summary:
    - Only declare the Range constructor as a constexpr if strlen() is also
    a constexpr. Otherwise, we'll get compilation errors.
    
    Test Plan:
    - fbconfig -r folly && fbmake runtests
    - ./configure && make check on Ubuntu/FC/Mac
    
    Reviewed By: soren@fb.com
    
    FB internal diff: D1003124
    e5b563e9
RangeTest.cpp 16 KB