Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 3.5.0
-
None
-
QtC 3.5.0
Description
Text editor crashes on code:
template <class R1, class R2> struct ratio_multiply : boost::ratio_detail::ratio_multiply<R1, R2>::type { }; template<typename R, int p> struct ratio_power : ratio_multiply< typename ratio_power<R, p%2>::type, typename ratio_power<typename ratio_multiply<R, R>::type, p/2>::type >::type {};
or slightly simpler example:
template <class R1> struct ratio_multiply { }; template<typename R, int p> struct ratio_power : ratio_multiply< typename ratio_power<typename ratio_multiply<R>::type, p>::type, typename ratio_power<typename ratio_multiply<R>::type, p>::type >::type {};
Attachments
Issue Links
- replaces
-
QTCREATORBUG-15205 Qt Creator enters endless recursion
- Closed
-
QTCREATORBUG-15258 Crash while parsing code
- Closed