pybind11 for C++14/C++17

Viewed 1989

Does pybind11 work for C++14 and C++17 seamlessly ?

I'm planning to use Boost.python for my project which is currently in C++11. In future I may have to upgrade to C++14 or C++17. So I wanted to understand what will be the right choice here - boost.python ot pybind11.

From pybind11 doc, it says - "seamless operability between C++11 and Python" So bit confused

1 Answers

Yes, it works with C++11/14/17/20, see corresponding section in docs.

By default, pybind11 will compile modules with the compiler default or the minimum standard required by pybind11, whichever is higher.

Related