mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-27 22:03:57 +08:00
c1e54c82a9
Looks like we implemented option 1 (skip the object parameter) for CWG532 before the issue was resolved, and never updated to the final resolution of option 2 (model it as a reference). More recently CWG2445 extended this handling to static member functions; I think that's wrong, and have opened CWG2834 to address that and how explicit object member functions interact with it. The FIXME comments are to guide how the explicit object member function support should change the uses of DECL_NONSTATIC_MEMBER_FUNCTION_P. The library testsuite changes are to make partial ordering work again between the generic operator- in the testcase and _Pointer_adapter::operator-. DR 532 PR c++/53499 gcc/cp/ChangeLog: * pt.cc (more_specialized_fn): Fix object parameter handling. gcc/testsuite/ChangeLog: * g++.dg/template/partial-order4.C: New test. * g++.dg/template/spec26.C: Adjust for CWG532. libstdc++-v3/ChangeLog: * testsuite/23_containers/vector/ext_pointer/types/1.cc * testsuite/23_containers/vector/ext_pointer/types/2.cc (N::operator-): Make less specialized. |
||
---|---|---|
.. | ||
call.cc | ||
cfns.gperf | ||
cfns.h | ||
ChangeLog | ||
ChangeLog-1993 | ||
ChangeLog-1994 | ||
ChangeLog-1995 | ||
ChangeLog-1996 | ||
ChangeLog-1997 | ||
ChangeLog-1998 | ||
ChangeLog-1999 | ||
ChangeLog-2000 | ||
ChangeLog-2001 | ||
ChangeLog-2002 | ||
ChangeLog-2003 | ||
ChangeLog-2004 | ||
ChangeLog-2005 | ||
ChangeLog-2006 | ||
ChangeLog-2007 | ||
ChangeLog-2008 | ||
ChangeLog-2009 | ||
ChangeLog-2010 | ||
ChangeLog-2011 | ||
ChangeLog-2012 | ||
ChangeLog-2013 | ||
ChangeLog-2014 | ||
ChangeLog-2015 | ||
ChangeLog-2016 | ||
ChangeLog-2017 | ||
ChangeLog-2018 | ||
ChangeLog-2019 | ||
ChangeLog-2020 | ||
ChangeLog-2021 | ||
ChangeLog-2022 | ||
ChangeLog.ptr | ||
ChangeLog.tree-ssa | ||
class.cc | ||
config-lang.in | ||
constexpr.cc | ||
constraint.cc | ||
contracts.cc | ||
contracts.h | ||
coroutines.cc | ||
cp-gimplify.cc | ||
cp-lang.cc | ||
cp-name-hint.h | ||
cp-objcp-common.cc | ||
cp-objcp-common.h | ||
cp-trait.def | ||
cp-tree.def | ||
cp-tree.h | ||
cp-ubsan.cc | ||
cvt.cc | ||
cxx-pretty-print.cc | ||
cxx-pretty-print.h | ||
cxxapi-data.csv | ||
decl2.cc | ||
decl.cc | ||
decl.h | ||
dump.cc | ||
error.cc | ||
except.cc | ||
expr.cc | ||
friend.cc | ||
g++spec.cc | ||
gen-cxxapi-file.py | ||
init.cc | ||
lambda.cc | ||
lang-specs.h | ||
lex.cc | ||
logic.cc | ||
Make-lang.in | ||
mangle.cc | ||
mapper-client.cc | ||
mapper-client.h | ||
mapper-resolver.cc | ||
method.cc | ||
module.cc | ||
name-lookup.cc | ||
name-lookup.h | ||
operators.def | ||
optimize.cc | ||
parser.cc | ||
parser.h | ||
pt.cc | ||
ptree.cc | ||
rtti.cc | ||
search.cc | ||
semantics.cc | ||
std-name-hint.gperf | ||
std-name-hint.h | ||
tree.cc | ||
type-utils.h | ||
typeck2.cc | ||
typeck.cc | ||
vtable-class-hierarchy.cc |