Discussion:
C++ PATCH for c++/63415 (value-dependent int(T{}))
Jason Merrill
2014-10-09 18:03:03 UTC
Permalink
T{} is expressed as a CONSTRUCTOR with TREE_HAS_CONSTRUCTOR set, so we
need to consider the type and not just assume that all CONSTRUCTORs have
init-list type.

Tested x86_64-pc-linux-gnu, applying to trunk.

Loading...