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 » Vector < Report >
Re: Vector < Report > [message #39519 is a reply to message #39517] Mon, 25 March 2013 14:49 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi deep,

deep wrote on Mon, 25 March 2013 12:30

I would like to understand why Vector < Report > is giving error.

Vector has some requirements that its elements must obey. If I remember correctly, it is that it must be moveable and that deep-copy constructor must exist. Report doesn't fulfill that, so it results in compilation error. Array uses different storage, so it is not necessary to meet these stricter conditions, hence it works well. To find out more details, I'd recommend you to read Tutorial about containers, esp. sections 4 and 5.

Best regards,
Honza
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: UPP && Oracle OCCI && VC 2010
Next Topic: Report Setup to get correct Print area and Margins
Goto Forum:
  


Current Time: Sat May 04 12:12:01 CEST 2024

Total time taken to generate the page: 0.01978 seconds