Commit 991a9ec5 authored by scoder's avatar scoder Committed by GitHub

Merge pull request #2466 from gabrieldemarmiesse/link_to_include

docs: Added a link to the include directory in "Using C++ in Cython".
parents 57385bf9 52c715b9
......@@ -307,15 +307,17 @@ Standard library
-----------------
Most of the containers of the C++ Standard Library have been declared
in pxd files located in ``/Cython/Includes/libcpp``. These containers
are: deque, list, map, pair, queue, set, stack, vector.
in pxd files located
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:
.. literalinclude:: ../../examples/userguide/wrapping_CPlusPlus/vector_demo.pyx
The pxd files in ``/Cython/Includes/libcpp`` also work as good examples on
how to declare C++ classes.
The pxd files
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
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