This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: ... (*pf)(); return; } Once you start playing with extensions involving void, there's a temptation to go further toward making void a first-class type. Doing this might ease template writing in other contexts, but the effort quickly runs into language definitional problems. The argument for this limited extension is that it isn't really an introduction of void objects or void arguments, but rather a realization that the currently allowed: return ; already has an implicitly void expression in it. While this proposal has not yet been formally adopted (the standard is currently in a review and balloting phase and actual changes to the working paper cannot be made), it received widespread support at the recent Nashua meeting and is likely to be voted in at the next meeting this summer....
View Full Document
This note was uploaded on 02/27/2012 for the course CS 251 taught by Professor Staff during the Fall '08 term at Purdue University-West Lafayette.
- Fall '08