[Bug c++/51155] Incorrect sizeof and sizeof... behavior in template partial specialization
shachar at shemesh dot biz
gcc-bugzilla@gcc.gnu.org
Thu Jul 11 11:48:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51155
Shachar Shemesh <shachar at shemesh dot biz> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |shachar at shemesh dot biz
--- Comment #2 from Shachar Shemesh <shachar at shemesh dot biz> ---
It is almost 8 years since this bug was opened, and I'm still experiencing it
with g++ 8.3.0.
template<typename... T>
struct CalcHash< sizeof...(T), T... > {
static constexpr size_t calcHash( const std::tuple<T...> &tuple ) {
return 0;
}
};
Doesn't compile.
At the very least, can we move this to "confirmed"?
More information about the Gcc-bugs
mailing list