catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Add another known bug to limitations.md
- Commit
a90305f8570c6ad8ae4409a80470db0a9488ef82- Author
- Martin Hořeňovský ·
- Parents
543c9d3a6748
Changes
docs/limitations.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/limitations.md b/docs/limitations.md index bcdbab06..9acade0e 100644 --- a/docs/limitations.md +++ b/docs/limitations.md @@ -96,6 +96,14 @@ with expansion: ""\" == ""\" ``` +### Visual Studio 2015 -- Alignment compilation error (C2718) + +VS 2015 has a known bug, where `declval<T>` can cause compilation error +if `T` has alignment requirements that it cannot meet. + + +A workaround is to explicitly specialize `Catch::is_range` for given +type (this avoids code path that uses `declval<T>` in a SFINAE context). ### Visual Studio 2015 -- Wrong line number reported in debug mode