mirror of
https://github.com/pybind/pybind11.git
synced 2026-04-19 22:39:09 +00:00
static_assert(std::false_type::value, ...)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user