https://bugs.kde.org/show_bug.cgi?id=434150
--- Comment #5 from Jonathan Wakely <zi...@kayari.org> --- Maybe you meant to use typename A::value_type not typename T::value_type, but it still wouldn't work. This would be better: template<typename A, typename R = decltype(declval<A&>().push_back(std::declval<typename A::value_type>()))> static constexpr bool test(A *pointer) { return is_container<A>::value && std::is_same<R, void>::value; } You could also use std::is_void<R>::value instead of is_same. -- You are receiving this mail because: You are watching all bug changes.