P0704R1 - fixing const-qualified pointers to members
commit5753ddf9a0c4d180430d838d0fd1707129689aeb
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Nov 2017 05:30:40 +0000 (7 05:30 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Nov 2017 05:30:40 +0000 (7 05:30 +0000)
tree80ad4800b9dc233c0da9c8423b1b777716d347b2
parent71ff36bcc3689f64ea34e6e7fcbb7d749769189e
P0704R1 - fixing const-qualified pointers to members

* typeck2.c (build_m_component_ref): Also accept in lower stds with
a pedwarn.

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