1. 17 Jan, 2016 1 commit
    • Wenzel Jakob's avatar
      improved handling of shared/smart pointers · b2c2c792
      Wenzel Jakob authored
      Previously, pybind11 required classes using std::shared_ptr<> to derive
      from std::enable_shared_from_this<> (or compilation failures would ensue).
      
      Everything now also works for classes that don't do this, assuming that
      some basic rules are followed (e.g. never passing "raw" pointers of
      instances manged by shared pointers). The safer
      std::enable_shared_from_this<> approach continues to be supported.
      b2c2c792
  2. 24 Nov, 2015 1 commit
  3. 01 Oct, 2015 1 commit