Why are some files in libC ++ include_next themselves?

I looked at the source code for libC ++, and I found a design template that I don't understand: many of the headers include_nextthemselves.

For example, it wchar.hhas line 17:

#include_next <wchar.h>

My understanding include_nextis that it excludes the directory of the current file, so it should include another wchar.h,

Where is this other file located wchar.h?

What search path should I add to build libC ++?


This is not a duplicate. Why use #include_next in a project? because I am asking about libC ++ specifically.

+4
source share

No one has answered this question yet.

Source: https://habr.com/ru/post/1663849/


All Articles