透明相等比较函数对象,用于 unordered 容器的异构查找
更多...
#include <NBT_String.hpp>
|
|
using | is_transparent = void |
| | 透明比较标记
|
|
| template<typename TL, typename TR> |
| bool | operator() (const TL &l, const TR &r) const |
| | 比较两个满足 Is_NBT_String_Or_View 约束的对象是否相等
|
透明相等比较函数对象,用于 unordered 容器的异构查找
◆ operator()()
template<typename TL, typename TR>
| bool NBT_String_Transparent_Equal::operator() |
( |
const TL & | l, |
|
|
const TR & | r ) const |
|
inline |
比较两个满足 Is_NBT_String_Or_View 约束的对象是否相等
- 模板参数
-
| TL | 左操作数的类型(NBT_String 或其 View) |
| TR | 右操作数的类型(NBT_String 或其 View) |
- 参数
-
- 返回
- l == r 的布尔结果
该结构体的文档由以下文件生成: