U++ framework
Do not panic. Ask here before giving up.

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 Go to previous message
tvanriper is currently offline  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.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Optimized memcmp for x86
Next Topic: THISBACK and function-overloading
Goto Forum:
  


Current Time: Sun Aug 02 09:04:40 GMT+2 2026

Total time taken to generate the page: 0.00703 seconds