Skip to content

CppParser throws exception when return value is specified to be in global namespace #3926

@thomkopp

Description

@thomkopp

In case a return-value of a function is specified to be in the global namespace, CppParser throws an exception while parsing.

This is a needed feature in case the parsed class is part of a namespace and the returned type exists in the same namespace as well as in the global namespace. This is the only possibility to make sure the type from the global namespace is used instead of the one we're currently in.

Example:

::MyType doSomething();

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions