Commit 52c715b9 authored by gabrieldemarmiesse's avatar gabrieldemarmiesse

docs: Added a link to the include directory in "Using C++ in Cython".

parent 084a25f5
...@@ -352,8 +352,9 @@ Standard library ...@@ -352,8 +352,9 @@ Standard library
----------------- -----------------
Most of the containers of the C++ Standard Library have been declared Most of the containers of the C++ Standard Library have been declared
in pxd files located in ``/Cython/Includes/libcpp``. These containers in pxd files located
are: deque, list, map, pair, queue, set, stack, vector. in `/Cython/Includes/libcpp <https://github.com/cython/cython/tree/master/Cython/Includes/libcpp>`_.
These containers are: deque, list, map, pair, queue, set, stack, vector.
For example:: For example::
...@@ -368,8 +369,9 @@ For example:: ...@@ -368,8 +369,9 @@ For example::
for x in vect: for x in vect:
print(x) print(x)
The pxd files in ``/Cython/Includes/libcpp`` also work as good examples on The pxd files
how to declare C++ classes. in `/Cython/Includes/libcpp <https://github.com/cython/cython/tree/master/Cython/Includes/libcpp>`_
are also work good examples on how to declare C++ classes.
Since Cython 0.17, the STL containers coerce from and to the Since Cython 0.17, the STL containers coerce from and to the
corresponding Python builtin types. The conversion is triggered corresponding Python builtin types. The conversion is triggered
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment