W
wang
Hi all,
I read in C++Primer 4th Ed. the following code:
set<TextQuery::line_no>
TextQuery::run_query(const string &query_word) const
{
// definition of the function
}
What does const after the parenthesis and before the brace mean? Where
can explanation about this be read in a c++ textbook? Thanks!
k.w.wang
I read in C++Primer 4th Ed. the following code:
set<TextQuery::line_no>
TextQuery::run_query(const string &query_word) const
{
// definition of the function
}
What does const after the parenthesis and before the brace mean? Where
can explanation about this be read in a c++ textbook? Thanks!
k.w.wang