logoalt Hacker News

ok123456yesterday at 8:34 PM1 replyview on HN

Would the PMR variants of the STL datatypes be a solution here? The compiler could fill in the details of the range in question (the ro section), and give you constexprness?


Replies

Maxataryesterday at 8:40 PM

No, compile time memory is not the same as static storage duration/ro section.