This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Function return type depends on its recursive invocation
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Simone Pellegrini <spellegrini at dps dot uibk dot ac dot at>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 27 Jul 2012 01:27:48 +0100
- Subject: Re: Function return type depends on its recursive invocation
- References: <50118357.5090201@dps.uibk.ac.at> <50119C2E.3090103@dps.uibk.ac.at>
On 26 July 2012 20:36, Simone Pellegrini wrote:
> Hello,
> I was experimenting with trailer function return types together with
> decltype to define a function whose return type depends on the recursive
> invocation of the function itself.
This question is not appropriate for this mailing list, which is for
discussing development of GCC, not questions about using GCC or
questions about C++.
Your question would be more appropriate for the gcc-help list or
better yet, on a more general forum for C++ questions, such as
Stackoverflow, where you'll find your question answered already e.g.
http://stackoverflow.com/questions/11596898/variadic-template-and-inferred-return-type-in-concat/11597196#11597196