CWG 1581: When are constexpr member functions defined?
authorJason Merrill <jason@redhat.com>
Fri, 1 Jun 2018 20:49:43 +0000 (16:49 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 1 Jun 2018 20:49:43 +0000 (16:49 -0400)
commite079dced7a83837e8924e555aea315e4c43fafcd
treede1e4b094f7a6f35f193a2a2c37df09281b23b76
parent7d072b977b02c2cea83d8a87c87af6fa89245606
CWG 1581: When are constexpr member functions defined?

* constexpr.c (instantiate_cx_fn_r, instantiate_constexpr_fns): New.
(cxx_eval_outermost_constant_expr): Call instantiate_constexpr_fns.

From-SVN: r261086
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/g++.dg/cpp2a/constexpr-inst1.C [new file with mode: 0644]