home/categories/framework-internals/ecnu-icalk-autoskill-skillbank-convskill-english-gpt4-8-glm4-7-c-custom-matrix-element-comparison-skill-md
framework-internalsdevelopment

c-custom-matrix-element-comparison

Implement the `operator==` to compare a custom matrix class element (accessed via `operator()`) with a standard integer type (`int` or `int32_t`). This resolves compilation errors where `ASSERT_EQ(matrix(x,y,z), 5)` fails due to type mismatch.

ECNU-ICALK
maintainer
ECNU-ICALK
Обновлено 3/13/2026
Звёзды
304
Форки
34
quick start

Installation and usage

Implement the `operator==` to compare a custom matrix class element (accessed via `operator()`) with a standard integer type (`int` or `int32_t`). This resolves compilation errors where `ASSERT_EQ(matrix(x,y,z), 5)` fails due to type mismatch.

Установка
$ install --globalskills.sh
Использование

После установки вы можете использовать этот skill, выполнив следующую команду в терминале:

skills use c-custom-matrix-element-comparison