Skip to content

Add exemplar.hpp catchall header#321

Merged
ednolan merged 1 commit intomainfrom
enolan_catchallheader1
Mar 15, 2026
Merged

Add exemplar.hpp catchall header#321
ednolan merged 1 commit intomainfrom
enolan_catchallheader1

Conversation

@ednolan
Copy link
Member

@ednolan ednolan commented Mar 15, 2026

This is mainly for the benefit of the README and the cookiecutter template, whose untemplated uses of identity.hpp had been leaking into other libraries. Since the catchall header is called exemplar.hpp, we can template it, so that when we stamp out new_library the README will show new_library.hpp instead of identity.hpp. Providing a catchall header can also be good practice in general so that users don't need to individually include every header in the project.

@coveralls
Copy link

coveralls commented Mar 15, 2026

Coverage Status

coverage: 100.0%. remained the same
when pulling 407cfb6 on enolan_catchallheader1
into e637bf7 on main.

This is mainly for the benefit of the README and the cookiecutter
template, whose untemplated uses of identity.hpp had been leaking into
other libraries. Since the catchall header is called exemplar.hpp, we
can template it, so that when we stamp out new_library the README will
show new_library.hpp instead of identity.hpp. Providing a catchall
header can also be good practice in general so that users don't need
to individually include every header in the project.
@ednolan ednolan force-pushed the enolan_catchallheader1 branch from 30583d7 to 407cfb6 Compare March 15, 2026 22:00
@ednolan ednolan merged commit e0431ac into main Mar 15, 2026
97 checks passed
@ednolan ednolan deleted the enolan_catchallheader1 branch March 15, 2026 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants