In reply to juhi_p:
Not sure how to interpret the statement in the LRM. But your code is legal in my opinion.
In fact in Section 8.10 of the LRM you will see an example of a class declaration with static function.
In reply to juhi_p:
Not sure how to interpret the statement in the LRM. But your code is legal in my opinion.
In fact in Section 8.10 of the LRM you will see an example of a class declaration with static function.