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 » Community » Newbie corner » Is there a non-allocating String similar to a string_view in NTL?
Re: Is there a non-allocating String similar to a string_view in NTL? [message #58463 is a reply to message #58462] Sat, 28 May 2022 08:41 Go to previous messageGo to previous message
Oblivion is currently offline  Oblivion
Messages: 1094
Registered: August 2007
Senior Contributor
Quote:
I have a COW database that uses mmap and the String type seems to either allocate or move when I would like to just have a const pointer/len to memory itself. Is there anything in NTL that can do this?


How about Upp::MemReadStream? If I understand you correctly, this seems to be what you need.

Best regards,

Oblivion


 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Relocated Upp Folder - Missing Packages
Next Topic: No mouse hover tip?
Goto Forum:
  


Current Time: Sun May 12 06:23:52 CEST 2024

Total time taken to generate the page: 0.01706 seconds