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 next 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
Re: AMap::Trim(int n) [message #52822 is a reply to message #52818] Fri, 06 December 2019 07:42 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Done. Thanks.

Mirek
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: Fri Mar 29 06:58:42 CET 2024

Total time taken to generate the page: 0.01939 seconds