Skip to content

Commit 5a8ec8e

Browse files
authored
Include what is used in pybind11.h (#2499)
* Include what is used * Separated the C++ standard library headers and the project headers * Reordering includes
1 parent d0ed035 commit 5a8ec8e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

include/pybind11/pybind11.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@
4646
#include "detail/class.h"
4747
#include "detail/init.h"
4848

49+
#include <memory>
50+
#include <vector>
51+
#include <string>
52+
#include <utility>
53+
4954
#if defined(__GNUG__) && !defined(__clang__)
5055
# include <cxxabi.h>
5156
#endif

0 commit comments

Comments
 (0)