Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!.POSTED!not-for-mail From: Bo Persson Newsgroups: comp.std.c++ Subject: Re: proposal : keyword default Date: Sat, 5 Oct 2013 19:19:45 -0700 (PDT) Organization: unknown Lines: 29 Sender: std-cpp-request@vandevoorde.com Approved: james.dennett@gmail.com Message-ID: References: <3c07b20c$1@master.soko.hr> NNTP-Posting-Host: eUYdrAl/alJ603At4vIRKxIxmy3EfHf19EVV2pwtI/U= Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Trace: news.albasani.net qv7ALnR0S5WQ4S9kJZvowhey0q7DxFXRxjO3OfzNq7AIMR8qWkiOGDcj0LpFu9orzElONihYBsbyoNJNzd8fSA== X-Complaints-To: abuse@albasani.net NNTP-Posting-Date: Sun, 6 Oct 2013 02:19:48 +0000 (UTC) X-Mailer: Perl5 Mail::Internet v2.05 X-Submission-Address: std-cpp-submit@vandevoorde.com Cancel-Lock: sha1:kkhpaDphsuGJEkZ1kihooDGmP1E= X-Original-Date: Sat, 05 Oct 2013 09:48:16 +0200 Xref: csiph.com comp.std.c++:676 Paul D. DeRocco skrev 2013-10-04 20:58: >> >> On 10/3/2013 3:25 PM, alexander.stoyan@googlemail.com wrote: >> >> Instead it would be elegant to just use: >> >> thread_t thr_id = 0; >> make_thread(thread_function, default, default, default, &thr_id); > > > I didn't see the earlier parts of this thread, so this may have come up. > Has the idea of leaving out the arguments entirely come up? E.g., > > make_thread(thread-function, , , , &thr_id); > I believe this has been considered, but seen as too error prone. make_thread(thread_function,, my_params); // Oops wrong parameter! Bo Persson -- [ comp.std.c++ is moderated. To submit articles, try posting with your ] [ newsreader. If that fails, use mailto:std-cpp-submit@vandevoorde.com ] [ --- Please see the FAQ before posting. --- ] [ FAQ: http://www.comeaucomputing.com/csc/faq.html ]