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
- Fall '08
- Return statement, Void type, void return type, return void, Jonathan Schilling, implicitly void expression