• Dean Moldovan's avatar
    Fix compilation with Intel's compiler · 706a7d96
    Dean Moldovan authored
    ICC was reporting that `try_direct_conversions()` cannot be `constexpr`
    because `handle` is not a literal type. The fix removes `constexpr`
    from the function since it isn't strictly needed.
    
    This commit also suppresses new false positive warnings which mostly
    appear in constexpr contexts (where the compiler knows conversions are
    safe).
    706a7d96
pybind11.h 81 KB