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.

JasonPunyon (3) [Avatar] Offline
#1
Hey Jon,

I'm reading the MEAP and on page 116, 4th full paragraph:

"C++ templates are more flexible in other ways, too. They don't suffer from the problem described in 3.6.2, ..."

There is no 3.6.2 and I'm not sure to which problem you are referring.
mgravell (64) [Avatar] Offline
#2
Re: Chapter 3 Errata
In the 1st edition, this relates to "Lack of operator constraints or a “numeric” constraint".

I don't have my 2nd edition preview to hand, but there are workarounds to this issue; in 4.0 "dynamic" can be used to cheat. Before that you can do some sneaky things with dynamic code creation.

Edit (found my copy): in 2nd edition this is now 3.5.2; I'm guessing that it is now too late to fix this broken reference (Jon?)
jon.skeet (483) [Avatar] Offline
#3
Re: Chapter 3 Errata
Nope, as it happens I fixed that in the source on Tuesday smilie