pybind11/include/pybind11
Jason Rhinelander e88656ab45 Improve macro type handling for types with commas
- PYBIND11_MAKE_OPAQUE now takes ... rather than a single argument and
  expands it with __VA_ARGS__; this lets templated, comma-containing
  types get through correctly.
- Adds a new macro PYBIND11_TYPE() that lets you pass the type into a
  macro as a single argument, such as:

      PYBIND11_OVERLOAD(PYBIND11_TYPE(R<1,2>), PYBIND11_TYPE(C<3,4>), func)

  Unfortunately this only works for one macro call: to forward the
  argument on to the next macro call (without the processor breaking it
  up again) requires also adding the PYBIND11_TYPE(...) to type macro
  arguments in the PYBIND11_OVERLOAD_... macro chain.
- updated the documentation with these two changes, and use them at a couple
  places in the test suite to test that they work.
2018-03-10 14:24:23 -04:00
..
detail Use stricter brace initialization 2018-01-12 09:29:57 -04:00
attr.h Reduce binary size overhead of new-style constructors 2017-08-28 16:08:53 +02:00
buffer_info.h Move internal headers into detail subdirectory 2017-08-17 04:06:35 +02:00
cast.h Improve macro type handling for types with commas 2018-03-10 14:24:23 -04:00
chrono.h Force hidden visibility on pybind code 2017-08-14 11:40:38 -04:00
common.h Add a dummy common.h header with a deprecation warning 2017-09-06 15:22:26 +02:00
complex.h Add -Wdeprecated to test suite and fix associated warnings (#1191) 2017-11-22 17:37:41 -04:00
eigen.h Silence new MSVC C++17 deprecation warnings 2017-12-23 09:00:45 -04:00
embed.h Fix segfault when reloading interpreter with external modules (#1092) 2018-01-11 19:46:10 -04:00
eval.h Force hidden visibility on pybind code 2017-08-14 11:40:38 -04:00
functional.h Simplify function signature annotation and parsing 2017-09-16 12:02:49 +02:00
iostream.h Utility for redirecting C++ streams to Python (#1009) 2017-08-25 02:12:43 +02:00
numpy.h MSVC workaround for broken using detail::_ warning 2018-01-12 12:37:54 -04:00
operators.h Access C++ hash functions from Python and vice versa (#1034) 2017-08-30 14:22:00 +02:00
options.h Move internal headers into detail subdirectory 2017-08-17 04:06:35 +02:00
pybind11.h Improve macro type handling for types with commas 2018-03-10 14:24:23 -04:00
pytypes.h Add -Wdeprecated to test suite and fix associated warnings (#1191) 2017-11-22 17:37:41 -04:00
stl_bind.h fix return from std::map bindings to __delitem__ (#1229) 2018-01-11 19:43:37 -04:00
stl.h Fix pybind11 interoperability with Clang trunk (#1269) 2018-02-06 15:40:50 +01:00