Nested-Class static Member Definitions

If QueryResult had declared a static member, its definition would appear outside the scope of the TextQuery. For example, assuming QueryResult had a static member, its definition would look something like

// defines an int static member of QueryResult
// which is a class nested inside TextQuery
int TextQuery::QueryResult::static_mem = 1024;

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset