T
Thomas Ruschival
Hi,
for now I know what namespaces are and a little how they are used and imported.
Am I right in the assumption that everything defined in the STL is in namespace std? (like vector and string etc.)
One thing is still unclear, I came across it in some sample code for network socket programming:
the author uses just two colons in front of a c-Function while he has a methos in a c++ class that has the same name. in the own method Socket::bind() the has a statement ::bind().
what do these 2 colons refer to?
T.i.a.
Thomas
for now I know what namespaces are and a little how they are used and imported.
Am I right in the assumption that everything defined in the STL is in namespace std? (like vector and string etc.)
One thing is still unclear, I came across it in some sample code for network socket programming:
the author uses just two colons in front of a c-Function while he has a methos in a c++ class that has the same name. in the own method Socket::bind() the has a statement ::bind().
what do these 2 colons refer to?
T.i.a.
Thomas