modern-cpp-features icon indicating copy to clipboard operation
modern-cpp-features copied to clipboard

Add constinit to c++20

Open sobieh opened this issue 2 years ago • 3 comments

There is constexpr, consteval but constinit is not described. It could be worth to add it.

sobieh avatar Oct 29 '21 00:10 sobieh

Can I take this and do the necessary documentation for "constinit"?

rajkumarananthu avatar Dec 03 '21 10:12 rajkumarananthu

Yes, feel free. :)

AnthonyCalandra avatar Dec 15 '21 23:12 AnthonyCalandra

Hi @AnthonyCalandra I have created a pull request to this addition: https://github.com/AnthonyCalandra/modern-cpp-features/pull/110

Please review it and accept the same. Thanks Rajkumar Ananthu.

rajkumarananthu avatar Jan 08 '22 05:01 rajkumarananthu

Done https://github.com/AnthonyCalandra/modern-cpp-features/commit/e2f9058ca7961fb97b1f4308256ca8d61107a9b9

AnthonyCalandra avatar Feb 18 '23 02:02 AnthonyCalandra