3 ms·
Regarding the advice on globals, and the comments here regarding destructors, how does `constexpr` interact with RAII? Are `constexpr` values destructed when t
by rocqua 8y ago
Regarding the advice on globals, and the comments here regarding destructors, how does `constexpr` interact with RAII?
Are `constexpr` values destructed when they go out of scope? Or is it simply not possible to `constexpr` them?
- Chabs 8y agoconstexpr variables must have a literal type, which requires a trivial destructor.