pybind11/include/pybind11
Jason Rhinelander ca0e82b79f Update PYBIND11_CPP1{4,7} macros for MSVC
The PYBIND11_CPP14 macro started out as a guard for the compile-time
path code in `descr.h`, but has since come to mean other things.  This
means that while the `descr.h` check has just checked the
`PYBIND11_CPP14` macro, various other places now check `PYBIND11_CPP14
|| _MSC_VER`.  This reverses that by now setting the CPP14 macro when
MSVC is trying to support C++14, but disabling the `descr.h` C++14 code
(which still fails under MSVC 2017).

The CPP17 macro also gets enabled when MSVC 2017 is compiling with
/std:c++latest (the default is /std:c++14), which enables
`std::optional` and `std::variant` support under MSVC.
2017-05-09 16:41:47 -04:00
..
attr.h attr.h: Fix header copy-and-paste typo 2017-05-09 13:50:34 -04:00
buffer_info.h Now shape, size, ndims and itemsize are also signed integers. 2017-05-08 01:50:21 +02:00
cast.h enum_: fix implicit conversion on Python 2.7 2017-04-29 16:35:28 +02:00
chrono.h Fix for floating point durations 2017-03-11 23:04:16 -04:00
class_support.h Now shape, size, ndims and itemsize are also signed integers. 2017-05-08 01:50:21 +02:00
common.h Update PYBIND11_CPP1{4,7} macros for MSVC 2017-05-09 16:41:47 -04:00
complex.h Made arithmetic and complex casters respect convert 2017-02-03 20:16:14 -05:00
descr.h Update PYBIND11_CPP1{4,7} macros for MSVC 2017-05-09 16:41:47 -04:00
eigen.h Deprecate handle::operator== in favor of object_api::is 2017-05-08 01:53:07 +02:00
eval.h Add py::exec() as a shortcut for py::eval<py::eval_statements>() 2017-05-08 20:46:16 +02:00
functional.h functional: support bound methods 2017-04-29 10:43:17 -04:00
numpy.h Now shape, size, ndims and itemsize are also signed integers. 2017-05-08 01:50:21 +02:00
operators.h Multiple inheritance support 2016-09-19 13:45:31 +02:00
options.h Provide more control over automatic generation of docstrings (#486) 2016-11-15 12:38:05 +01:00
pybind11.h Update PYBIND11_CPP1{4,7} macros for MSVC 2017-05-09 16:41:47 -04:00
pytypes.h Deprecate handle::operator== in favor of object_api::is 2017-05-08 01:53:07 +02:00
stl_bind.h Now shape, size, ndims and itemsize are also signed integers. 2017-05-08 01:50:21 +02:00
stl.h Update PYBIND11_CPP1{4,7} macros for MSVC 2017-05-09 16:41:47 -04:00
typeid.h minor cleanups in common.h; updated author info and copyright year 2016-04-18 10:53:38 +02:00