Skip to content

Question about header file naming and documentation #3978

@Limezero

Description

@Limezero

Hey there, I'm browsing through the STL code, and a few headers with mysterious names keep popping up, like yvals_core.h and xutility. It's not exactly clear what these do from a first glance, given that they're thousands of lines long and their descriptions usually say something along the lines of "internal header" with no further explanation.

I get that end users aren't supposed to care/know about these, but I'd like to understand how this specific implementation of the standard library is architected, in case I ever end up contributing a feature or need to look into something. What does yvals stand for? Why is there a separate yvals and a yvals_core? I assume the headers with an x prepended to their name are specifically the internal ones, but then why is it xmemory and ymath? Why do some files have three x-s in their name, like xxxprec?

Is there any documentation on this that I could read somewhere? A "getting started" guide of sorts, maybe?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requestedresolvedSuccessfully resolved without a commit

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions