Home » Extra libraries, Code snippets, applications etc. » C++ language problems and code snippets » What does , means?
Re: What does , means? [message #15388 is a reply to message #15130] |
Fri, 18 April 2008 22:47  |
 |
tvanriper
Messages: 85 Registered: September 2007 Location: Germantown, MD, USA
|
Member |
|
|
For lists filled algorithmically, yeah, this doesn't really provide much utility.
However, for static lists of specialized types, this bit of syntactic sugar can clarify your intentions quite nicely, and avoid having to type in a bunch of arcane-looking nonsense.
Still, after literally years of working with C++ as it is, to see someone use operator,() in this way kind of makes me go 'huh?' on the first mental parse. It's like some weird magical thing happened that doesn't seem immediately obvious, unless I know that the operator is being used.
I'd use it very judiciously, if at all, for that reason alone.
|
|
|
 |
|
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 Aug 18 21:24:43 CEST 2025
Total time taken to generate the page: 0.06956 seconds
|