mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
errors in appveyor are indicating that AsWritableByesCompilersFor needs to be static.
This commit is contained in:
parent
41ae38f197
commit
67a7f7eaef
@ -42,10 +42,10 @@ static_assert(!std::is_convertible<Derived (*)[], Base (*)[]>::value,
|
||||
"!std::is_convertible<Derived(*)[], Base(*)[]>");
|
||||
|
||||
template <typename U, typename = void>
|
||||
constexpr bool AsWritableBytesCompilesFor = false;
|
||||
static constexpr bool AsWritableBytesCompilesFor = false;
|
||||
|
||||
template <typename U>
|
||||
constexpr bool AsWritableBytesCompilesFor<U, void_t<decltype(as_writable_bytes(declval<U>()))>> =
|
||||
static constexpr bool AsWritableBytesCompilesFor<U, void_t<decltype(as_writable_bytes(declval<U>()))>> =
|
||||
true;
|
||||
|
||||
TEST(span_test, std_span_compatibilty_assertion_tests)
|
||||
|
Loading…
Reference in New Issue
Block a user