Skip to content

C++: declarations of functions that return a reference (&) are not highlighted #1396

@oleombruni

Description

@oleombruni

In the following snippet:

// Function forward declaration
type a_function();

// Another forward declaration
type& another_function();

The second function is not highlighted due to the return type being a reference.

Minimal working example at https://www.overleaf.com/read/kfwwcrpktwwh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions