FlexClass
FlexClass Classes with dynamic size for everyone “C++ Flexible Array Members” Breno Guimarães brenorg@gmail.com Twitter @brenorg https://github.com/brenoguim/flexclassstd::make_shared(n) s throws? // Why am I manipulating bytes? // This was supposed to be modern C++FlexClass A tool in the shed#include <flexclass.hpp> template struct Block { auto fc_handles() { return auto begin = block->data.begin(); auto end = std::advance(begin, block- >size);Features #include <flexclass.hpp> struct Foo { auto fc_handles() { return fc::make_tuple(&h1, &h2, &h3); } 0 码力 | 8 页 | 957.56 KB | 5 月前3
共 1 条
- 1
相关搜索词