• Dean Moldovan's avatar
    Support std::shared_ptr holder type out of the box · 5d28dd11
    Dean Moldovan authored
    With this there is no more need for manual user declarations like
    `PYBIND11_DECLARE_HOLDER_TYPE(T, std::shared_ptr<T>)`. Existing ones
    will still compile without error -- they will just be ignored silently.
    
    Resolves #446.
    5d28dd11
test_issues.cpp 9.8 KB