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 » U++ Library support » U++ Core » Transfer Semantics - Initializer list and copy constructors
Re: Transfer Semantics - Initializer list and copy constructors [message #10462 is a reply to message #10459] Tue, 10 July 2007 22:11 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
The simple rule: Do what you need. If you get crash because of broken pick semantics (the ASSERT in Vector with items = -1), use "deep copy variant" (<<= instead of =, constructor with additional int parameter (e.g. 1).
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: GetIndex on Array
Next Topic: Crash on LoadFromFile
Goto Forum:
  


Current Time: Fri Jun 20 03:14:58 CEST 2025

Total time taken to generate the page: 0.03528 seconds