Skip to content

Commit e9a1fa3

Browse files
author
Tim Crews
committed
Eliminate function that does not compile with MSVC 14.33.31629, perhaps because of a compiler bug. It compiles with older MSVC versions, gcc-8, and gcc-11
1 parent 5b87986 commit e9a1fa3

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

include/flags/flags.hpp

-8
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,6 @@ template <class E> class flags {
8484
flags(enum_type e, Args ... args) noexcept : flags{e, args...} {}
8585

8686

87-
template <class FwIter>
88-
flags(FwIter b, FwIter e,
89-
typename convertible<decltype(*b)>::type = nullptr)
90-
noexcept(noexcept(std::declval<flags>().insert(std::declval<FwIter>(),
91-
std::declval<FwIter>())))
92-
: val_(0)
93-
{ insert(b, e); }
94-
9587

9688
constexpr explicit operator bool() const noexcept { return val_ != 0; }
9789

0 commit comments

Comments
 (0)