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 » Doubt with Buffer<> of a trivially destructible type
Re: Doubt with Buffer<> of a trivially destructible type [message #61247 is a reply to message #61246] Sat, 14 December 2024 21:02 Go to previous messageGo to previous message
Lance is currently offline  Lance
Messages: 656
Registered: March 2007
Contributor
Hello Koldo,

It should not matter whether T is trivially destructible. As long as T is Upp::Moeavable, a type of fixed sized c array of T should be Vector friendly.

For example ,
typedef Upp::String S[3];

Upp::Vector<S3> s3s;


should compile and behave fine with a c array-awared Vector.
 
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: How to respond when memory is exceeded
Next Topic: Stream Load serialization fired twice
Goto Forum:
  


Current Time: Tue Aug 26 04:49:10 CEST 2025

Total time taken to generate the page: 0.05572 seconds