Some checks failed
eden-license / license-header (pull_request) Failing after 22s
Signed-off-by: lizzie <lizzie@eden-emu.dev>
15 lines
383 B
C++
15 lines
383 B
C++
// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <iterator>
|
|
#include <type_traits>
|
|
|
|
namespace Common {
|
|
|
|
// Check if type satisfies the ContiguousContainer named requirement.
|
|
template <typename T>
|
|
concept IsContiguousContainer = std::contiguous_iterator<typename T::iterator>;
|
|
|
|
} // namespace Common
|