container
container copied to clipboard
STL-like containers from Boost
[`Boost::container` is declared as a header-only library](https://www.boost.org/doc/libs/1_86_0/doc/html/container.html#container.intro.introduction_building_container). So a header-only option is needed.
The current policy of devector is to move the data to the middle of the allocated region whenever capacity is needed on an end. This results in half of the...
By analogy with `boost::container::devector`, I think it would be useful to have a `boost::container::destring`. One of possible use cases is to create complicated concatenation chains without memory allocations(just my opinion,...
godbolt reproduces issue: https://godbolt.org/#g:!((g:!((g:!((h:codeEditor,i:(filename:'1',fontScale:14,fontUsePx:'0',j:1,lang:c%2B%2B,selection:(endColumn:1,endLineNumber:13,positionColumn:1,positionLineNumber:13,selectionStartColumn:1,selectionStartLineNumber:13,startColumn:1,startLineNumber:13),source:'%0A%23include+%3Cboost/container/vector.hpp%3E%0A%0Astruct+TypeIsCustomAlignment+%7B%0A++++char+buffer%5B1000%5D+__attribute__((+aligned(64)+))+%3B%0A%7D%3B%0A%0Aint+main()%0A%7B%0A++++boost::container::vector%3C+TypeIsCustomAlignment+%3E+v(1)%3B%0A++++return+0%3B%0A%7D%0A'),l:'5',n:'1',o:'C%2B%2B+source+%231',t:'0')),k:37.36593736593737,l:'4',n:'0',o:'',s:0,t:'0'),(g:!((g:!((h:compiler,i:(compiler:g142,filters:(b:'0',binary:'1',binaryObject:'1',commentOnly:'0',debugCalls:'1',demangle:'0',directives:'0',execute:'0',intel:'0',libraryCode:'0',trim:'1',verboseDemangling:'0'),flagsViewOpen:'1',fontScale:14,fontUsePx:'0',j:1,lang:c%2B%2B,libs:!((name:boost,ver:'185')),options:'-fsanitize%3Dundefined',overrides:!(),selection:(endColumn:1,endLineNumber:1,positionColumn:1,positionLineNumber:1,selectionStartColumn:1,selectionStartLineNumber:1,startColumn:1,startLineNumber:1),source:1),l:'5',n:'0',o:'+x86-64+gcc+14.2+(Editor+%231)',t:'0')),k:50,l:'4',m:61.511423550087876,n:'0',o:'',s:0,t:'0'),(g:!((h:output,i:(compilerName:'x86-64+gcc+14.2',editorid:1,fontScale:14,fontUsePx:'0',j:1,wrap:'1'),l:'5',n:'0',o:'Output+of+x86-64+gcc+14.2+(Compiler+%231)',t:'0')),header:(),l:'4',m:38.488576449912124,n:'0',o:'',s:0,t:'0')),k:62.63406263406264,l:'3',n:'0',o:'',t:'0')),l:'2',n:'0',o:'',t:'0')),version:4