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 e3575fa commit fb1ac46Copy full SHA for fb1ac46
src/bsoncxx/include/bsoncxx/v_noabi/bsoncxx/stdx/iterator.hpp
@@ -66,8 +66,11 @@ using to_address_t = decltype(to_address(std::declval<T&>()));
66
/**
67
* @brief The result of applying unary operator* to the given object, if valid
68
*/
69
+bsoncxx_push_warnings();
70
+bsoncxx_disable_warning(Clang("-Wvoid-ptr-dereference"));
71
template <typename I>
72
using dereference_t = decltype(*std::declval<I>());
73
+bsoncxx_pop_warnings();
74
75
76
* @brief Detect a type that can be dereferenced (like a pointer) and the result
0 commit comments