mirror of
https://github.com/pybind/pybind11.git
synced 2025-01-18 08:55:57 +00:00
static_assert(std::false_type::value, ...)
This commit is contained in:
parent
e6b1370085
commit
999b668688
@ -1372,7 +1372,7 @@ template <typename D>
|
||||
template <typename T>
|
||||
str_attr_accessor object_api<D>::attr_with_type_hint(const char *key) const {
|
||||
#if !defined(__cpp_inline_variables)
|
||||
static_assert(always_false<T>::value,
|
||||
static_assert(std::false_type::value,
|
||||
"C++17 feature __cpp_inline_variables not available: "
|
||||
"https://en.cppreference.com/w/cpp/language/static#Static_data_members");
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user