File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 158
158
#include < condition_variable>
159
159
#include < stop_token> // std::stop_source, std::stop_token
160
160
#include < optional>
161
- #include < utility> // std::move, std::move_if_noexcept
161
+ #include < utility> // std::move, std::move_if_noexcept, std::forward
162
162
#include < type_traits> // for requires clauses and noexcept specs
163
- #include < concepts>
163
+ // #include <concepts>
164
164
165
165
namespace chops {
166
166
@@ -172,8 +172,8 @@ concept supports_push_back = requires (Ctr ctr, T val) {
172
172
};
173
173
174
174
template <typename Ctr, typename ... Args>
175
- concept supports_emplace_back = requires (Ctr ctr, Args args) {
176
- ctr.emplace_back (args);
175
+ concept supports_emplace_back = requires (Ctr ctr, Args&& ... args) {
176
+ ctr.emplace_back (args ... );
177
177
};
178
178
179
179
template <typename Ctr>
You can’t perform that action at this time.
0 commit comments