Article View: comp.std.c++
Article #4093Re: Template argument deduction
From: David Vandevoorde
Date: Thu, 18 Apr 1996 00:49
Date: Thu, 18 Apr 1996 00:49
17 lines
1435 bytes
1435 bytes
>>>>> "BF" == Brian Michael Freyburger <freyburg@glitch.stanford.edu> writes: BF> Reading section 14.10.2 of the January WP, I can not figure out BF> whether the following function call can be deduced: BF> template <class S, class T = S> BF> int foo(S s, T t = T()); It's a non-issue since default template arguments cannot be specified for function templates. Daveed --- [ comp.std.c++ is moderated. To submit articles: try just posting with ] [ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ] [ FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html ] [ Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ] [ Comments? mailto:std-c++-request@ncar.ucar.edu ]
Technical Details
Message-ID:
<xsoratnorr5.fsf@avs.cs.rpi.edu>Path:
arc1-ca.pugleaf.net!in2.uu.net!bounce-backReferences:
<FREYBURG.96Apr15144107@glitch.stanford.edu>Show Full Headers
Complete Article Headers
From: vandevod@cs.rpi.edu (David Vandevoorde) Message-ID: <xsoratnorr5.fsf@avs.cs.rpi.edu> X-Original-Date: 17 Apr 1996 10:21:50 -0400 Path: arc1-ca.pugleaf.net!in2.uu.net!bounce-back Date: 18 Apr 96 00:49:20 GMT Approved: fjh@cs.mu.oz.au Newsgroups: comp.std.c++ Subject: Re: Template argument deduction Organization: RPI Computer Science References: <FREYBURG.96Apr15144107@glitch.stanford.edu> In-Reply-To: freyburg@glitch.stanford.edu's message of 15 Apr 1996 21:47:00 GMT X-Newsreader: Gnus v5.1 X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBFAgUBMXWRneEDnX0m9pzZAQGibAF9HG5xxaEb5JXFUJSVkWV4N9GRFyxUlqB6 if3IstZKl/MlHQDeMMEtKfWojGAYgYKy =H/eq