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
Atualizado 3/13/2026
Estrelas
304
Forks
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.

Instalação
$ install --globalskills.sh
Uso

Depois de instalar, você pode usar esta skill executando o seguinte comando no terminal:

skills use c-custom-matrix-element-comparison