This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: glossary for egcs - request for contributions


>>>>> Joe Buck <jbuck@Synopsys.COM> writes:

 > Function arguments, for pointers to functions, are contravariant.

Actually, function arguments are invariant as far as C++ is concerned;
there are no implicit conversions between function pointer types.  g++
used to treat them as contravariant, but I think I tore out that code a
while back.

Jason

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]