https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81975
--- Comment #1 from Michał Dominiak ---
I have made a mistake in the original testcase in the original email, here's a
correction email sent to the reflector:
http://lists.isocpp.org/core/2017/08/2828.php.
Barry's minimization of the failing cod
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80691
--- Comment #1 from Michał Dominiak ---
This bug makes it seem (in SFINAE contexts) that std::string is constructible
from double with an initializer-list constructor, without narrowing:
#include
#include
using std::void_t;
template
struct i
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: griwes at griwes dot info
Target Milestone: ---
There seems to be a regression in GCC 7.1 in how the compiler treats narrowing
conversions in braced initialization, when using a user-provided constructor
for a type
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47226
griwes at griwes dot info changed:
What|Removed |Added
CC||griwes at griwes dot info