pector
pector copied to clipboard
A C++11 std::vector-compliant implementation with a customizable size type and growing algorithm
Your readme uses the phrase "perfectly forwarded types" where it actually means "incomplete types" (or the less-preferred "forward declared types"). These are not the same thing.
In pt::malloc_allocator VS does not (fully) apply empty base class optimization. This reddit post gives a solution for VS2015/U2+ https://www.reddit.com/r/cpp/comments/45bvku/msvc_finally_gets_variable_templates_and_optin/ (please note that __declspec(emptyBases) should be __declspec(empty_bases)) The signature: template...
On windows/vs2015u3, pt::pector allocated with pt::malloc_allocator < T, true, true > crashes with debug error that size_t _msize_dbg(void* const block, int const block_use) has been passed a nullptr to block....
I'm trying to build pector and test it on gentoo on x86_64, using gcc 4.9.2. I build it exactly as described in the README (including the missing `cd build` step...