eden/src/common/concepts.h
lizzie 014c62c4c7
Some checks failed
eden-license / license-header (pull_request) Failing after 22s
[common] replace Common:: stuffs with libstdc++ equivalents
Signed-off-by: lizzie <lizzie@eden-emu.dev>
2025-08-21 10:29:38 +00:00

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