gul-cpp / gul14

General Utility Library for C++14
https://gul14.info/
GNU Lesser General Public License v2.1
2 stars 1 forks source link

Move in_place_t and in_place into a new utility.h header #41

Closed alt-graph closed 1 year ago

alt-graph commented 1 year ago

Unfortunately the last 2.8.0 release is broken. This is the corresponding bugfix. I would retroactively re-tag the fixed version as 2.8.0 unless someone prefers a 2.8.1 release.

[why] Both optional.h and expected.h provided conflicting declarations of this type/constant. This lead to a compilation error if both headers were included.

[how] Remove the declarations from optional.h and expected.h and put them into a new utility.h header instead.