/* * Copyright (C) 2020-present ScyllaDB */ /* * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once #include namespace ranges { #ifndef __clang__ template #else // 'Range' should be constrained to std::ranges::range, but due to // problems between clang and , it cannot be template #endif Container to(const Range& range) { return Container(range.begin(), range.end()); } }