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 » StringBuffer::SetCount - fuse or a mini bug?
StringBuffer::SetCount - fuse or a mini bug? [message #60608] Sun, 02 June 2024 20:59
luoganda is currently offline  luoganda
Messages: 213
Registered: November 2016
Experienced Member
For now StringBuffer::SetCount(or Lenght) does the same as Reserve.
GetCount returns 0 after it.

It allocMem but since there is no *cat in StringBuffer::Realloc, pend==pbegin(ep is not set).
Is this meant as a fuse to force to use Cat?
I think it's a bug - since if one wants to do a quick thing SetLength
and later use ~ib on that to fill it - now it can't be done.
For now i am using a workaround with Cat - but it's slower.
Previous Topic: Add CA certificate authentication to TcpSocket Class
Next Topic: plugin/sqlite3 does not compile because of Link<> change
Goto Forum:
  


Current Time: Fri May 09 08:51:37 CEST 2025

Total time taken to generate the page: 0.02929 seconds