Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
静的関数はパラメーターとしてポインターを持つことができますか?
たとえば、このコード:
static void myFunctionName(Object &object1)
ありがとうございました。
あなたの例では、ポインタではなく参照です。ただし、これとは別に、静的メソッドには、非静的関数に対して有効なパラメーターを含めることができます。その点では両者に違いはありません。