mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-06 22:48:25 +01:00
Squashed 'externals/mcl/' content from commit a86a53843
git-subtree-dir: externals/mcl git-subtree-split: a86a53843f82e4d6ca2f2e1437824495acad2712
This commit is contained in:
commit
7eb1d05f63
70 changed files with 2902 additions and 0 deletions
16
include/mcl/concepts/bit_integral.hpp
Normal file
16
include/mcl/concepts/bit_integral.hpp
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
// This file is part of the mcl project.
|
||||
// Copyright (c) 2022 merryhime
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "mcl/concepts/is_any_of.hpp"
|
||||
#include "mcl/stdint.hpp"
|
||||
|
||||
namespace mcl {
|
||||
|
||||
/// Integral upon which bit operations can be safely performed.
|
||||
template<typename T>
|
||||
concept BitIntegral = IsAnyOf<T, u8, u16, u32, u64, uptr, size_t>;
|
||||
|
||||
} // namespace mcl
|
||||
Loading…
Add table
Add a link
Reference in a new issue