Skip to content

when is a free function considered the class's interface? #1190

@akrzemi1

Description

@akrzemi1

It is not clear how MrDocs determines whether a free function is just a free function or part of some class's interface.

For instance, it decided to blend
https://github.com/cppalliance/capy/blob/develop/include/boost/capy/buffers/make_buffer.hpp
with
https://github.com/cppalliance/capy/blob/develop/include/boost/capy/buffers.hpp

Although decision of the library has likely been to separate the mechanisms of creating the class from the class definition.

The users should probably have some control over this with special annotations.

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