The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

clemons (6) [Avatar] Offline
#1
This aside on tail-call optimizations doesn't quite scan:
While the C++ standard does not guarantee that the tail-call optimization will be performed. Not even for the simplest cases, most of the popular compilers like GCC, Clang and MSVC do perform it.
Ivan Cukic (104) [Avatar] Offline
#2
What do you mean under "scan"?

The idea here was to say that the standard does not require comilers to perform TCO, but that most of them do.
clemons (6) [Avatar] Offline
#3
Ivan Cukic wrote:What do you mean under "scan"?
The idea here was to say that the standard does not require comilers to perform TCO, but that most of them do.


This issue is that "while" as you're using it requires a contrasting phrase in the same sentence as the main idea. As currently written, it's split into two sentences which are both incomplete.

Something like the following would work:
The C++ standard makes no guarantees that tail-call optimization will be performed. However, most modern compilers, including GCC, Clang and MSVC, support this.
Ivan Cukic (104) [Avatar] Offline
#4
I agree. Thanks!