File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -150,10 +150,10 @@ the declaration
150150 before any binding code (e.g. invocations to ``class_::def() ``, etc.). This
151151macro must be specified at the top level (and outside of any namespaces), since
152152it instantiates a partial template overload. If your binding code consists of
153- multiple compilation units, it must be present in every file preceding any
154- usage of ``std::vector<int> ``. Opaque types must also have a corresponding
155- ``class_ `` declaration to associate them with a name in Python, and to define a
156- set of available operations, e.g.:
153+ multiple compilation units, it must be present in every file (or in a common
154+ header) preceding any usage of ``std::vector<int> ``. Opaque types must also
155+ have a corresponding ``class_ `` declaration to associate them with a name in
156+ Python, and to define a set of available operations, e.g.:
157157
158158.. code-block :: cpp
159159
You can’t perform that action at this time.
0 commit comments