cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Scope of static class methods
Scope of static class methods
Apr 18, 2013 at 9:32pm UTC
paco3346
(1)
When calling a static class method, what scope does it have- something global or just the scope of it's calling function?
Apr 18, 2013 at 9:43pm UTC
devonrevenge
(2435)
the scope that any variable has, because you cant call it when its out of scope
Last edited on
Apr 18, 2013 at 9:44pm UTC
Apr 18, 2013 at 9:58pm UTC
vlad from moscow
(6539)
The scope of a static class method is the class definition itself (and definitions of its derived classes) including its other member definitions that can be placed outside the class definition.
Last edited on
Apr 18, 2013 at 10:11pm UTC
Topic archived. No new replies allowed.