mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Authored-by: Jakob Lykke Andersen <Jakob@caput.dk> Co-authored-by: Jakob Lykke Andersen <Jakob@caput.dk>
29 lines
646 B
ReStructuredText
29 lines
646 B
ReStructuredText
When doing name resolution there are 4 different idenOrOps:
|
|
|
|
- identifier
|
|
- built-in operator
|
|
- user-defined literal
|
|
- type conversion
|
|
|
|
.. cpp:function:: int g()
|
|
.. cpp:function:: int operator+(int, int)
|
|
.. cpp:function:: int operator""_lit()
|
|
|
|
.. cpp:class:: B
|
|
|
|
.. cpp:function:: operator int()
|
|
|
|
Functions that can't be found:
|
|
|
|
- :cpp:func:`int h()`
|
|
- :cpp:func:`int operator+(bool, bool)`
|
|
- :cpp:func:`int operator""_udl()`
|
|
- :cpp:func:`operator bool()`
|
|
|
|
Functions that should be found:
|
|
|
|
- :cpp:func:`int g()`
|
|
- :cpp:func:`int operator+(int, int)`
|
|
- :cpp:func:`int operator""_lit()`
|
|
- :cpp:func:`operator int()`
|