1. 30 Jun, 2020 1 commit
  2. 29 Jun, 2020 3 commits
  3. 10 Jun, 2020 4 commits
  4. 31 May, 2020 4 commits
  5. 26 Apr, 2020 4 commits
  6. 14 Apr, 2020 1 commit
    • Ralf W. Grosse-Kunstleve's avatar
      Adding a default virtual destructor to Animal type in test_tagbased_polymorphic.cpp. · f6e543b1
      Ralf W. Grosse-Kunstleve authored
      With this change, and cast.h as-is in master, test_tagbased_polymorphic.cpp fails to compile with the error message below.
      With the cast.h change in pull/2016, building and testing succeeds.
      
      cd pybind11/build/tests && /usr/bin/c++  -DPYBIND11_TEST_BOOST -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -Ipybind11/include -I/usr/include/python3.7m -isystem /usr/include/eigen3  -Os -DNDEBUG -fPIC -fvisibility=hidden   -std=c++2a -flto -fno-fat-lto-objects -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -o CMakeFiles/pybind11_tests.dir/test_tagbased_polymorphic.cpp.o -c pybind11/tests/test_tagbased_polymorphic.cpp
      In file included from pybind11/include/pybind11/attr.h:13,
                       from pybind11/include/pybind11/pybind11.h:44,
                       from pybind11/tests/pybind11_tests.h:2,
                       from pybind11/tests/test_tagbased_polymorphic.cpp:10:
      pybind11/include/pybind11/cast.h: In instantiation of ‘static ...
      f6e543b1
  7. 17 Jan, 2020 1 commit
  8. 19 Dec, 2019 1 commit
  9. 24 Nov, 2019 1 commit
  10. 14 Nov, 2019 2 commits
  11. 31 Oct, 2019 1 commit
    • Sebastian Gsänger's avatar
      test pair-copyability on C++17 upwards (#1886) · a83d69e7
      Sebastian Gsänger authored
      * test pair-copyability on C++17 upwards
      
      The stdlib falsely detects containers like M=std::map<T, U>
      as copyable, even when one of T and U is not copyable.
      Therefore we cannot rely on the stdlib dismissing std::pair<T, M>
      by itself, even on C++17.
      
      * fix is_copy_assignable
      
      bind_map used std::is_copy_assignable which suffers from the same problems
      as std::is_copy_constructible, therefore the same fix has been applied.
      
      * created tests for copyability
      a83d69e7
  12. 23 Oct, 2019 1 commit
  13. 20 Sep, 2019 2 commits
  14. 19 Sep, 2019 1 commit
  15. 04 Sep, 2019 1 commit
  16. 27 Aug, 2019 1 commit
  17. 19 Aug, 2019 2 commits
  18. 16 Aug, 2019 1 commit
  19. 15 Aug, 2019 1 commit
  20. 27 Jul, 2019 1 commit
  21. 23 Jul, 2019 1 commit
  22. 19 Jul, 2019 1 commit
  23. 18 Jul, 2019 1 commit
  24. 15 Jul, 2019 2 commits
  25. 06 Jul, 2019 1 commit