Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #13788

Re: Return type of function or expression

From darylew@gmail.com
Newsgroups comp.lang.c++
Subject Re: Return type of function or expression
Date 2012-02-04 12:34 -0800
Organization http://groups.google.com
Message-ID <2951787.2126.1328387657170.JavaMail.geo-discussion-forums@vbcw9> (permalink)
References <6ea9f13e-061d-4b73-a3c3-502ebd3ea545@c20g2000vbb.googlegroups.com>

Show all headers | View raw


If you're using C++11, use decltype( std::setw(8) ), i.e. take the type of the expression, where said expression is a function call.

Daryle W.

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Return type of function or expression GH <yzghan@gmail.com> - 2012-02-04 07:29 -0800
  Re: Return type of function or expression darylew@gmail.com - 2012-02-04 12:34 -0800
    Re: Return type of function or expression Ian Collins <ian-news@hotmail.com> - 2012-02-07 17:29 +1300
  Re: Return type of function or expression Ian Collins <ian-news@hotmail.com> - 2012-02-07 18:08 +1300

csiph-web