1. Jun 29, 2021
  2. Jun 26, 2021
  3. Jun 25, 2021
  4. Jun 23, 2021
  5. Jun 22, 2021
  6. Jun 21, 2021
  7. Jun 20, 2021
  8. Jun 19, 2021
  9. Jun 18, 2021
  10. Jun 17, 2021
  11. Jun 09, 2021
  12. May 28, 2021
    • Robert Haschke's avatar
      smart_holder fixups (#3012) · 91f97ca4
      Robert Haschke authored
      * Drop constraints on casting of std::shared_ptr
      
      std::shared_ptrs can be shared across python and C++ by design.
      
      * Correctly report casting error
      
      It is important to return an empty handle.
      Simply returning None, would skip the error handling in
      simple_collector / unpacking_collector, although a python exception is set.
      A function call would then be processed with a (wrong) None argument!
      
      * Return None for nullptr
      
      * Revert "Drop constraints on casting of std::shared_ptr"
      
      This reverts commit 7cf53ae8b4f99c0382845acf8bc63b64924dc891.
      91f97ca4