FreeBSD Bugzilla – Attachment 227468 Details for
Bug 258079
clang-11 fails: candidate template ignored: substitution failure [with U = float]: variable length array cannot be formed during template argument deduction
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
c++test.cpp
c++test.cpp (text/plain), 319 bytes, created by
Yuri Victorovich
on 2021-08-27 09:34:22 UTC
(
hide
)
Description:
c++test.cpp
Filename:
MIME Type:
Creator:
Yuri Victorovich
Created:
2021-08-27 09:34:22 UTC
Size:
319 bytes
patch
obsolete
> >#include <sys/types.h> > >template<class T, int FracBits> class fff { > > enum { IntBits = (sizeof(T)*8) - FracBits }; > >public: > template<class U> > inline U mmm(U data[(1U<<IntBits)+1], unsigned int mask) const { > return 0; > } >}; > >float f(float *data, fff<int64_t, 20> &ph) { > return ph.mmm(data, 10); >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 258079
: 227468