Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #15139
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx01.iad01.newshosting.com!newshosting.com!novia!news-out.readnews.com!news-xxxfer.readnews.com!panix!not-for-mail |
|---|---|
| From | jgk@panix.com (Joe keane) |
| Newsgroups | comp.lang.c++ |
| Subject | Re: Any way to defer template function overloading? |
| Date | Mon, 2 Apr 2012 14:41:33 +0000 (UTC) |
| Organization | Public Access Networks Corp. |
| Lines | 15 |
| Message-ID | <jlcdqt$ltg$1@reader1.panix.com> (permalink) |
| References | <jl8d4h$hbf$1@speranza.aioe.org> |
| NNTP-Posting-Host | panix5.panix.com |
| X-Trace | reader1.panix.com 1333377693 22448 166.84.1.5 (2 Apr 2012 14:41:33 GMT) |
| X-Complaints-To | abuse@panix.com |
| NNTP-Posting-Date | Mon, 2 Apr 2012 14:41:33 +0000 (UTC) |
| X-Newsreader | trn 4.0-test76 (Apr 2, 2001) |
| X-Received-Bytes | 999 |
| Xref | csiph.com comp.lang.c++:15139 |
Show key headers only | View raw
In article <jl8d4h$hbf$1@speranza.aioe.org>, Qi <no@no.no> wrote:
>int main(int argc, char * argv[])
>{
> (void)argc;
> (void)argv;
>
> string s;
> test(s);
>
> return 0;
>}
That is an old C idiom, and there's nothing wrong with it.
Saying 'comment out the parameter' misses the point.
Back to comp.lang.c++ | Previous | Next — Previous in thread | Find similar | Unroll thread
Any way to defer template function overloading? Qi <no@no.no> - 2012-04-01 10:05 +0800
Re: Any way to defer template function overloading? Ian Collins <ian-news@hotmail.com> - 2012-04-01 16:06 +1200
Re: Any way to defer template function overloading? Qi <no@no.no> - 2012-04-01 13:53 +0800
Re: Any way to defer template function overloading? Juha Nieminen <nospam@thanks.invalid> - 2012-04-01 17:24 +0000
Re: Any way to defer template function overloading? "Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> - 2012-04-02 00:40 +0200
Re: Any way to defer template function overloading? Ian Collins <ian-news@hotmail.com> - 2012-04-02 11:02 +1200
Re: Any way to defer template function overloading? Juha Nieminen <nospam@thanks.invalid> - 2012-04-02 05:29 +0000
Re: Any way to defer template function overloading? Qi <no@no.com> - 2012-04-02 13:48 +0800
Re: Any way to defer template function overloading? Ian Collins <ian-news@hotmail.com> - 2012-04-02 17:53 +1200
Re: Any way to defer template function overloading? Qi <no@no.com> - 2012-04-02 13:57 +0800
Re: Any way to defer template function overloading? Ian Collins <ian-news@hotmail.com> - 2012-04-02 18:12 +1200
Re: Any way to defer template function overloading? Miles Bader <miles@gnu.org> - 2012-04-02 15:32 +0900
Re: Any way to defer template function overloading? Miles Bader <miles@gnu.org> - 2012-04-02 14:58 +0900
Re: Any way to defer template function overloading? Juha Nieminen <nospam@thanks.invalid> - 2012-04-02 10:11 +0000
Re: Any way to defer template function overloading? Qi <no@no.com> - 2012-04-02 19:04 +0800
Re: Any way to defer template function overloading? Qi <no@no.com> - 2012-04-02 19:17 +0800
Re: Any way to defer template function overloading? jgk@panix.com (Joe keane) - 2012-04-02 14:41 +0000
csiph-web