0

Where scope operator is used?

29th Nov 2016, 2:56 AM
Råkšhâ Bıřłå
Råkšhâ Bıřłå - avatar
2 ответов
+ 1
for static access mostly. To access static members the scope operator works best but if you have an instance of an object you can use your instance with the scope operator to access members you have access to, now if what your trying to access is not within scope then the operator does little for you.
29th Nov 2016, 3:57 AM
Eric Gitangu
Eric Gitangu - avatar
0
when you use a function from a specific library or class.
29th Nov 2016, 3:21 AM
Mohammed Maaz
Mohammed Maaz - avatar