+ 2

What does mean this symbol in c++ (~)?

15th Mar 2017, 4:46 PM
Abdirahman Mohamed Nur
Abdirahman Mohamed Nur - avatar
2 Antworten
+ 3
This is a bitwise 'not' and also destructor sign: class A { public: ~A () { cout << "dtor" << endl; } };
15th Mar 2017, 4:50 PM
soman
0
it is known as tild operator
15th Mar 2017, 5:01 PM
Swamy Kanuri
Swamy Kanuri - avatar