Doubt about static functions declaration in classes

Hey, I want to declare a static function that returns a boolean and my question is: where should I explicitly declare it as an static function? In the .hpp, in the .cpp, or in both places?

Thanks a lot!
You should declare it as static in class declaration. Keep static keyword out of function definition.
Thanks a lot!
Topic archived. No new replies allowed.