Skip to content

Fix reference of root-qualified name with a leading ::#31

Merged
Lastique merged 1 commit into
boostorg:developfrom
igaztanaga:develop
Jun 13, 2026
Merged

Fix reference of root-qualified name with a leading ::#31
Lastique merged 1 commit into
boostorg:developfrom
igaztanaga:develop

Conversation

@igaztanaga

Copy link
Copy Markdown
Member

A reference whose name is root-qualified with a leading :: (e.g. ::boost::container::allocator_traits) is never resolved, producing a spurious:

Cannot find class named '::boost::container::allocator_traits'

warning when generating the documentation. Example:

struct MyContainer {
   typedef typename ::boost::container::allocator_traits<A>::pointer pointer;
};

The commit strips a leading :: in "generate-cxx-links". when present, requires an exact match (empty qualifiers) . Relative-name resolution is unchanged.

A reference whose name is root-qualified with a leading :: (e.g. ::boost::container::allocator_traits) is never resolved, producing a spurious:

Cannot find class named '::boost::container::allocator_traits'

warning when generating the documentation.

The commit strips a leading :: in "generate-cxx-links". when present, requires an exact match (empty qualifiers) . Relative-name resolution is unchanged.
@Lastique Lastique merged commit 9683903 into boostorg:develop Jun 13, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants