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 » AMap::Trim(int n)
AMap::Trim(int n) [message #52818] Wed, 04 December 2019 17:09 Go to previous message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
Is it possible to change implementation of AMap::Trim?

-       void     Trim(int n)                            { key.Trim(n); value.SetCount(n); }
+       void     Trim(int n)                            { key.Trim(n); value.Trim(n); }


Trim (unlike SetCount) doesn't require default constructor.

TIA


Regards,
Novo
 
Read Message
Read Message
Previous Topic: IsSpace() should be true on non breaking space
Next Topic: Bugfix: GZCompressFile() and GZDecompressFile() not crashing on files bigger than 2 GB
Goto Forum:
  


Current Time: Mon Apr 29 08:54:35 CEST 2024

Total time taken to generate the page: 0.02645 seconds