At least in Boost, all public headers (and boost/outcome/version.hpp is considered public, given its location) need to be self-sufficient and protected against double inclusion. Also, all headers must have a license comment at the top.
The text was updated successfully, but these errors were encountered:
The way they are now, they will warn about macro redefinitions regardless of whether the versions are the same or different.
Compilers only warn if the macro definition changes. You can repeat a definition as many times as you like, so long as it is identical. This is specifically what I want to canary to end users.
I'll leave this issue open to remind me to make these changes, but be aware they will land no earlier than after the Cologne WG21 meeting, sorry. I have a hideous non-work workload between now and then. But all bug fixes to Outcome should land well in time for the August release.