4 ms·
> arbitrary file I/O. I can take my compile time data and write a python script to put it in a std::array, but I shouldn’t have to. There's a proposal for that
by jdrek1 4y ago
> arbitrary file I/O. I can take my compile time data and write a python script to put it in a std::array, but I shouldn’t have to.
There's a proposal for that https://open-std.org/JTC1/SC22/WG21/docs/papers/2020/p1040r6.html https://open-std.org/JTC1/SC22/WG21/docs/papers/2020/p1040r6...
> non-fixed-sized containers, ie vector
You can already use them in a constexpr context, you just can't leave it yet. So creating a vector on compile time and then using it on runtime is sadly not working right now but I think that's being worked on as well.