We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f22bd5d commit cf38c6fCopy full SHA for cf38c6f
src/string19.lib/string19/Rope.h
@@ -12,9 +12,9 @@ template<class... Ts> struct Rope;
12
template<class... Ts> requires(sizeof...(Ts) > 0) struct Rope<Ts...> {
13
Tuple<Ts...> parts;
14
constexpr Rope() = default;
15
- constexpr Rope(const Ts&... ts) : parts(ts...) {}
16
- constexpr Rope(Ts&&... ts) : parts(std::move(ts)...) {}
17
- constexpr bool operator==(const Rope&) const = default;
+ constexpr explicit Rope(const Ts&... ts) : parts(ts...) {}
+ constexpr explicit Rope(Ts&&... ts) : parts(std::move(ts)...) {}
+ constexpr auto operator==(const Rope&) const -> bool = default;
18
};
19
20
template<> struct Rope<> {};
0 commit comments