0
What does :: mean and do?
4 ответов
+ 1
it just says the programm, that the following funktion is in the class that comes before, so in this example:
Class::func()
the func() is the funktion/constructor (in this example it's a funktion)
Class is the Class in wich the function/constructor stands ;)
+ 1
scope(::)it is used to call the function outside the class
0
:: is called the scope resolution operator and is used for the purpose of inheritance in c++
0
This Scope resolution operator