We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6b1370 commit 999b668Copy full SHA for 999b668
include/pybind11/cast.h
@@ -1372,7 +1372,7 @@ template <typename D>
1372
template <typename T>
1373
str_attr_accessor object_api<D>::attr_with_type_hint(const char *key) const {
1374
#if !defined(__cpp_inline_variables)
1375
- static_assert(always_false<T>::value,
+ static_assert(std::false_type::value,
1376
"C++17 feature __cpp_inline_variables not available: "
1377
"https://en.cppreference.com/w/cpp/language/static#Static_data_members");
1378
#endif
0 commit comments