1. 28 May, 2017 1 commit
  2. 09 May, 2017 1 commit
    • Jason Rhinelander's avatar
      Make PYBIND11_CPP_STANDARD work under MSVC · 77710ff0
      Jason Rhinelander authored
      Under MSVC we were ignoring PYBIND11_CPP_STANDARD and simply not
      passing any standard (which makes MSVC default to its C++14 mode).
      
      MSVC 2015u3 added the `/std:c++14` and `/std:c++latest` flags; the
      latter, under MSVC 2017, enables some C++17 features (such as
      `std::optional` and `std::variant`), so it is something we need to
      start supporting under MSVC.
      
      This makes the PYBIND11_CPP_STANDARD cmake variable work under MSVC,
      defaulting it to /std:c++14 (matching the default -std=c++14 for
      non-MSVC).
      
      It also adds a new appveyor test running under MSVC 2017 with
      /std:c++latest, which runs (and passes) the
      `std::optional`/`std::variant` tests.
      
      Also updated the documentation to clarify the c++ flags and add show
      MSVC flag examples.
      77710ff0
  3. 26 Dec, 2016 1 commit
  4. 19 Dec, 2016 2 commits
  5. 13 Dec, 2016 2 commits
  6. 06 Sep, 2016 1 commit
  7. 03 Jun, 2016 2 commits
  8. 26 May, 2016 1 commit
  9. 17 May, 2016 1 commit
  10. 05 May, 2016 1 commit
  11. 01 May, 2016 1 commit
  12. 28 Apr, 2016 1 commit
  13. 09 Mar, 2016 1 commit
  14. 07 Feb, 2016 1 commit
  15. 21 Jan, 2016 1 commit
  16. 20 Jan, 2016 1 commit
  17. 17 Jan, 2016 5 commits
  18. 07 Dec, 2015 1 commit
  19. 13 Oct, 2015 2 commits