Home » Extra libraries, Code snippets, applications etc. » C++ language problems and code snippets » What does , means?
Re: What does , means? [message #15144 is a reply to message #15142] |
Wed, 02 April 2008 17:39 |
cbpporter
Messages: 1401 Registered: September 2007
|
Ultimate Contributor |
|
|
Quote: | Once again I'm not "guru enough" to know whether comma can be overloaded (but why not, looks reasonable ... except it makes me feel sick when I imagine it ).
|
I had to look it up also, and yes, it can be done. But I never did this myself. I couldn't and can't find a good reason to do this, not even as an alternative to cout << . Especially since arguments can be evaluated more than once. But still it is not totally improbable that Mirek used some overloading magic and constructed some font info structure with the help of such a statement. Anyway, without a file or line number, and judging by the fact that it was posted in the general C++ section, I had no way to be sure if it's from U++ and where to find it, so I couldn't look it up to see that it was overloaded or not. And fortunately, It wasn't .
|
|
|
|
|
What does , means?
|
|
|
Re: What does , means?
By: mr_ped on Wed, 02 April 2008 09:56
|
|
|
Re: What does , means?
|
|
|
Re: What does , means?
By: Werner on Wed, 02 April 2008 12:39
|
|
|
Re: What does , means?
By: mrjt on Wed, 02 April 2008 14:24
|
|
|
Re: What does , means?
By: mirek on Wed, 02 April 2008 15:11
|
|
|
Re: What does , means?
By: mr_ped on Wed, 02 April 2008 17:30
|
|
|
Re: What does , means?
|
|
|
Re: What does , means?
|
|
|
Re: What does , means?
|
|
|
Re: What does , means?
By: mdelfede on Mon, 14 April 2008 23:42
|
|
|
Re: What does , means?
|
|
|
Re: What does , means?
By: mr_ped on Thu, 03 April 2008 00:27
|
|
|
Re: What does , means?
|
|
|
Re: What does , means?
|
Goto Forum:
Current Time: Mon Apr 29 06:37:44 CEST 2024
Total time taken to generate the page: 0.03029 seconds
|