Tags: Sedeniono/tiny-optional
Tags
Fixed msvc tests in release. The test_Exceptions() caused the link time optimization to complain about unreachable code. The "#pragma warning(disable : 4702)" at the top of ConstructionTests.cpp did not work because tiny/optional.h got included before indirectly in TestUtilities.h. I think it is better in general to keep tiny/optional.h out of TestUtilities.h, so removed the dependency again.
Made versions with same major and minor but different patch versions … …compatible to each other + incremented version to 1.4.0. I.e. we guarantee compatibility between versions of the library with different patch versions if the major and minor versions are the same. This allows to make releases with just e.g. documentation or test updates, where the patch version gets incremented and now no longer leads to a breaking change.
Amended Natvis to account for the new inline namespace. Unfortunately, Natvis needs the inline namespace to resolve the types. This also means that both the version number and the configuration gets hardcoded in Natvis. I think there is no way around this. (We have the same problem with e.g. the abseil library.) So at least explain it in the Natvis and the readme.
PreviousNext