Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.alphanet.ch!alphanet.ch!news.imp.ch!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!news.mixmin.net!news2.arglkargh.de!news.wiretrip.org!news.alt.net From: Edward Diener Newsgroups: comp.std.c++ Subject: Compound types as functions in latest C++ standard Date: Sun, 1 May 2011 12:52:47 CST Organization: A noiseless patient Spider Lines: 19 Sender: std-cpp-request@vandevoorde.com Approved: james.dennett@gmail.com Message-ID: Reply-To: eldiener@tropicsoft.com Content-Type: text/plain; charset=windows-1252; format=flowed To: undisclosed-recipients:; Return-Path: X-Original-Date: Sun, 01 May 2011 13:05:41 -0400 X-Submission-Address: std-c++-submit@vandevoorde.com Xref: x330-a1.tempe.blueboxinc.net comp.std.c++:139 In the latest C++ standard document (n3290) in section 3.9.2 part 1, where it mentions the ways in which compound types can be constructed I read: "— functions, which have parameters of given types and return void or references or objects of a given type, 8.3.5;" Should not this say "... return void or references or pointers or objects of a given type, 8.3.5;", or better yet just say "... return void or given types, 8.3.5;". -- [ comp.std.c++ is moderated. To submit articles, try posting with your ] [ newsreader. If that fails, use mailto:std-cpp-submit@vandevoorde.com ] [ --- Please see the FAQ before posting. --- ] [ FAQ: http://www.comeaucomputing.com/csc/faq.html ]