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` 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` in a SFINAE context). ### Visual Studio 2015 -- Wrong line number reported in debug mode