14 template<aui::mapper<std::unique_ptr<Base>, std::unique_ptr<Base>> Callback>
15 static std::unique_ptr<Base> tryAllUntilSuccess(Callback&& callback) {
16 std::unique_ptr<Base> result;
17 (
false || ... || [&]() ->
bool {
19 auto i = std::make_unique<Implementations>();
20 result = callback(std::move(i));
21 return result !=
nullptr;