CWG 1581: When are constexpr member functions defined?
commit6e1bbaaee63dcf595018f9a117361f86c3947189
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Jun 2018 20:49:43 +0000 (1 20:49 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Jun 2018 20:49:43 +0000 (1 20:49 +0000)
treede1e4b094f7a6f35f193a2a2c37df09281b23b76
parent75d8585da66d9d96350614a4f6b6b9ab76a6d5cd
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@261086 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/g++.dg/cpp2a/constexpr-inst1.C [new file with mode: 0644]