This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 150866 [details] IDE log contents There seems to be an infinite recursion bug when trying to resolve decltype for recursive templates. I'm writing code in the following form (please forgive lack of tags): template <size_t N> struct bar { auto operator()->decltype(std::tuple_cat(std::make_tuple(SOMETHING), bar<N-1>()())) { SOMETHING = makesomething; // my code does something return std::tuple_cat(std::make_tuple(SOMETHING), bar<N-1>()()); } }; template <> struct bar<0> { std::tuple<> operator() { return std::tuple<>(); } }; Netbeans version 7.4 correctly avoided determining the return type. Netbeans version 8.0 and up run into infinite recursion here. I'm compiling this code with G++ 4.8.1 with std=c++11. It is valid code that compiles and runs as intended.
Can you, please, check you case in development version?
Most likely it has been fixed in either Bug 251299 or Bug 251305 *** This bug has been marked as a duplicate of bug 251305 ***