Skip to content

all kinds of symbols are exposed to users of rayx-core #369

@ichinii

Description

@ichinii

since many things are defined in header files, users inevitably import symbols, that are not meant to be visible from the outside.

this is a common problem in c++.

other libraries often put 'private' symbols into an extra namespace (e.g. detail)

namespace detail {
void someFunctionThatIsPrivateToRayxCore();
}

void somePublicFunction() {
  detail::someFunctionThatIsPrivateToRayxCore(); // still accessible
}

this method does not inhibit access to 'private' functions. it rather informs the user, that symbols inside namespace detail are not meant to be part of the API

NOTE: this method could help DOXYGEN to separate the API that we expose

Metadata

Metadata

Assignees

Labels

A-coreArea: The core library (rayx-core)A-docsArea: Project documentationA-metaArea: development environment (toolchain, repo, etc.)

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions