Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xavier Thompson
cython
Commits
48efcba4
Commit
48efcba4
authored
Mar 30, 2018
by
Robert Bradshaw
Committed by
GitHub
Mar 30, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update wrapping_CPlusPlus.rst
parent
fd85d226
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
docs/src/userguide/wrapping_CPlusPlus.rst
docs/src/userguide/wrapping_CPlusPlus.rst
+1
-1
No files found.
docs/src/userguide/wrapping_CPlusPlus.rst
View file @
48efcba4
...
...
@@ -658,7 +658,7 @@ Cython has support for the ``typeid(...)`` operator.
The ``typeid(...)`` operator returns an object of the type ``const type_info &``.
If you want to store a type_info value in a C variable, you will need to store it
as a pointer rather than a reference:
as a pointer rather than a reference:
:
from libcpp.typeinfo cimport type_info
cdef const type_info* info = &typeid(MyClass)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment