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