New course! Every coder should learn Generative AI!
Try a free lesson+ 2
What does mean this symbol in c++ (~)?
2 Answers
+ 3
This is a bitwise 'not' and also destructor sign:
class A {
public:
~A () {
cout << "dtor" << endl;
}
};
0
it is known as tild operator