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