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

Home » Community » Newbie corner » Passing Vectors as arguments of functions.
Re: Passing Vectors as arguments of functions. [message #28307 is a reply to message #28305] Thu, 26 August 2010 23:18 Go to previous message
cbpporter is currently offline  cbpporter
Messages: 1428
Registered: September 2007
Ultimate Contributor
You should always pass containers as a reference, otherwise you risk loosing the content of your original container.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Assert failed in core/value.h line 464
Next Topic: Making applications more fancy
Goto Forum:
  


Current Time: Mon May 11 04:20:04 GMT+2 2026

Total time taken to generate the page: 0.00521 seconds