We could have written StrBlobPtr’s deref member as follows:
std::string& deref() const{ return (*check(curr, "dereference past end"))[curr]; }Which version do you think is better and why?
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.