I have seen declaring a variable as constant in C++ on Quora.
static constexpr const int& r = 3;
So, Why constexpr and const used in single statement? What is the purpose of that statement?
constexpr
const
Aucun commentaire:
Enregistrer un commentaire