vendredi 24 avril 2015

Explain constexpr with const char*const

I have the following code:

static constexpr const char*const myString = "myString";

Could you please explain what is the difference from:

static const char*const myString = "myString";

What's new we have with constexpr in this case?

Aucun commentaire:

Enregistrer un commentaire