mirror of
https://github.com/microsoft/GSL.git
synced 2025-09-25 14:41:34 +02:00
Update tests/span_tests.cpp
thanks copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -533,7 +533,7 @@ TEST(span_test, from_container_constructor)
|
||||
// The following static assertion fails on MSVC in C++14 mode.
|
||||
static_assert(!ConversionCompilesFor<span<int>, std::vector<int>>,
|
||||
"!ConversionCompilesFor<span<int>, std::vector<int>>");
|
||||
#endif // !defined(_MSC_VER) || (_MSC_VER > 1942) || (__cplusplus >= 201703L)
|
||||
#endif // !defined(_MSC_VER) || (__cplusplus >= 201703L)
|
||||
|
||||
{
|
||||
auto get_temp_vector = []() -> std::vector<int> { return {}; };
|
||||
|
Reference in New Issue
Block a user