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: Voice your opinion! (overload resolution)


>>>>> Reid M Pinchback <reidmp@MIT.EDU> writes:

 > At 01:02 PM 9/3/98 -0700, you wrote:
 >> It is ill-formed, because template argument deduction fails.

 > Increasing the verbosity setting would be appreciated.  I kinda figured
 > that the template argument deduction failed; after all the code 
 > didn't compile.  The purpose of my question was ascertain whether or
 > not user-defined conversions in template classes are supposed to be 
 > factored into the template argument deduction

Nope; very few conversions are considered by the deduction process.  See

  http://www.cygnus.com/misc/wp/dec96pub/template.html#temp.deduct

for more information.

Jason


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