Question: void Library::sortBooks ( ) const { std::sort ( books . begin ( ) , books.end ( ) , [ ] ( Book const& lpr ,
void Library::sortBooks const
std::sortbooksbegin books.end
Book const& lpr Book const& rpr
return lprgetBookTitle rprgetBookTitle; ;
returns multiple instances of both compiler error c and c I cannot figure out why, or how to fix it the function is defined elsewhere, and i would thoroughly appreciate any help.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
