Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Extra libraries, Code snippets, applications etc. » C++ language problems and code snippets » What does , means?
Re: What does , means? [message #15274 is a reply to message #15272] Tue, 15 April 2008 00:10 Go to previous messageGo to previous message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
mdelfede wrote on Tue, 15 April 2008 00:42

really nice the usage of operator, in boost...I wonder if it can be implemented in upp to fill arrays and so.

Max


I see no good reason why it couldn't. I think the real question is how often do you really need it? These nice little tricks offer to little in the case of normal code, where data structures are most often populated IMO algorithmically, and in general one a one-by-one basis. In the cases a such syntactic sugars do not help that much. The nice part is that += operator, which can be quite expensive performance wise, with default pick semantics could be really nice and efficient.
 
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: Mon Apr 29 09:14:36 CEST 2024

Total time taken to generate the page: 0.02132 seconds