home/categories/ide-plugins/ecnu-icalk-autoskill-skillbank-convskill-english-gpt4-8-glm4-7-implement-commutative-scalar-multiplication-in-c-skill-md
ide-pluginstools

implement-commutative-scalar-multiplication-in-c

Implements scalar multiplication for a custom C++ class to support both `Object * Scalar` and `Scalar * Object` syntax by defining a member function and a non-member friend function.

ECNU-ICALK
maintainer
ECNU-ICALK
์—…๋ฐ์ดํŠธ๋จ 2026. 3. 13.
์Šคํƒ€
304
ํฌํฌ
34
quick start

Installation and usage

Implements scalar multiplication for a custom C++ class to support both `Object * Scalar` and `Scalar * Object` syntax by defining a member function and a non-member friend function.

์„ค์น˜
$ install --globalskills.sh
์‚ฌ์šฉ๋ฒ•

์„ค์น˜ ํ›„ ํ„ฐ๋ฏธ๋„์—์„œ ๋‹ค์Œ ๋ช…๋ น์„ ์‹คํ–‰ํ•˜์—ฌ ์ด ์Šคํ‚ฌ์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:

skills use implement-commutative-scalar-multiplication-in-c