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 48d25b4 commit 81c8a7bCopy full SHA for 81c8a7b
include/flags/flags.hpp
@@ -86,7 +86,7 @@ template <class E> class flags {
86
87
template <class FwIter>
88
flags(FwIter b, FwIter e,
89
- typename convertible<decltype(*b)>::type = nullptr)
+ typename convertible<decltype(*std::declval<FwIter>())>::type = nullptr)
90
noexcept(noexcept(std::declval<flags>().insert(std::declval<FwIter>(),
91
std::declval<FwIter>())))
92
: val_(0)
0 commit comments