mini-llvm
0.1.0
Toggle main menu visibility
Loading...
Searching...
No Matches
EQ.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: MIT
2
3
#pragma once
4
5
#include <concepts>
6
7
namespace
mini_llvm::ops
{
8
9
struct
EQ
{
10
template
<
typename
T>
11
requires
std::integral<T>
12
bool
operator()
(T x, T y)
const
noexcept
{
13
return
x == y;
14
}
15
};
16
17
}
// namespace mini_llvm::ops
mini_llvm::ops
Definition
Add.h:9
mini_llvm::ops::EQ
Definition
EQ.h:9
mini_llvm::ops::EQ::operator()
bool operator()(T x, T y) const noexcept
Definition
EQ.h:12
include
mini-llvm
common
ops
EQ.h
Generated by
1.17.0