[Bug c++/31511] New: /usr/include/c++/bits/cmath.tcc: no match for ternary 'operator?:' in '((__n % 2u) != 0u) ? __x : 1'

2007-04-08 Thread bav dot 272304 at gmail dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bav dot 272304 at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31511

[Bug c++/31511] /usr/include/c++/bits/cmath.tcc: no match for ternary 'operator?:' in '((__n % 2u) != 0u) ? __x : 1'

2007-04-08 Thread bav dot 272304 at gmail dot com
--- Comment #2 from bav dot 272304 at gmail dot com 2007-04-08 21:16 --- Code example: #include template class Wrapper { T x_; public: Wrapper () throw () : x_(0) {} Wrapper (const T& x) t

[Bug c++/31511] /usr/include/c++/bits/cmath.tcc: no match for ternary 'operator?:' in '((__n % 2u) != 0u) ? __x : 1'

2007-04-08 Thread bav dot 272304 at gmail dot com
--- Comment #3 from bav dot 272304 at gmail dot com 2007-04-08 21:17 --- (In reply to comment #1) > Gaby, not a big deal (complex is unspecified for T != floating, ...), but > what do you think, shall we do the 1 -> _Tp(1) change? > No, everything works if we

[Bug c++/31511] /usr/include/c++/bits/cmath.tcc: no match for ternary 'operator?:' in '((__n % 2u) != 0u) ? __x : 1'

2007-04-08 Thread bav dot 272304 at gmail dot com
--- Comment #5 from bav dot 272304 at gmail dot com 2007-04-08 21:21 --- (In reply to comment #1) > but what do you think, shall we do the 1 -> _Tp(1) change? Change, please. -- bav dot 272304 at gmail dot com changed: What|Removed