• Yiding Jia's avatar
    Fix folly::Range compile error when using non-POD value type, c++17, and libc++ · e3ed6d7c
    Yiding Jia authored
    Summary:
    When using clang, libc++, and c++17, merely mentioning a Range with a non-pod
    value-type will give a compile error due to a static assert while attemption to
    instantiate a basic_string_view. Using a StrictConjunction seems to fix this
    issue.
    
    Reviewed By: yfeldblum
    
    Differential Revision: D10472408
    
    fbshipit-source-id: 28d50d0a99994049bfcd9ac29168fb2f1d1c5867
    e3ed6d7c
RangeTest.cpp 48.6 KB