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

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: 1431
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: Tue Jun 02 00:49:50 GMT+2 2026

Total time taken to generate the page: 0.00665 seconds