Assertion: class | /r/HasProperty | string
Facets:
Source sentences:
text: // classes and default constructors #include <iostream> #include <string> using namespace std; class Example3 { string data; public : Example3 ( const string& str) : data(str) {} Example3() {} const string& content() const { return data;} }; int main () { Example3 foo; Example3 bar ( "Example" ); cout <