Include what is used in pybind11.h (#2499)

* Include what is used

* Separated the C++ standard library headers and the project headers

* Reordering includes
This commit is contained in:
Rickard Hallerbäck 2020-09-19 20:25:46 +02:00 committed by GitHub
parent d0ed035cc5
commit 5a8ec8e505
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,6 +46,11 @@
#include "detail/class.h" #include "detail/class.h"
#include "detail/init.h" #include "detail/init.h"
#include <memory>
#include <vector>
#include <string>
#include <utility>
#if defined(__GNUG__) && !defined(__clang__) #if defined(__GNUG__) && !defined(__clang__)
# include <cxxabi.h> # include <cxxabi.h>
#endif #endif