This has the benefit of consistent placement for these macros (outside the namespace, not inside it). This, in turn, makes it more obvious that the condition applies to the entire namespace scope. Compile times are also reduced a bit, since the compiler doesn't have to open a namespace just to close it again. This is enforced with a clang-tidy check. As a drive-by this also fixes a few macro comments. |
||
|---|---|---|
| .. | ||
| find_index.h | ||
| ignore.h | ||
| sfinae_helpers.h | ||
| tuple_element.h | ||
| tuple_like.h | ||
| tuple_like_no_subrange.h | ||
| tuple_size.h | ||
| tuple_transform.h | ||