Skip to content

Disable dynamic allocation in stringstream #2737

Answered by StephanTLavavej
Zereges asked this question in Q&A
Discussion options

You must be logged in to vote

Due to binary compatibility restrictions, we can't change how basic_stringstream uses the provided allocator - so if you need to control dynamic allocation, we recommend using std::basic_string directly (where the provided allocator will be used for all persistent allocations).

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Zereges
Comment options

@StephanTLavavej
Comment options

@Zereges
Comment options

@frederick-vs-ja
Comment options

Answer selected by StephanTLavavej
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants