constexpr bool isShorter(const string &s1, const string &s2) { return s1.size() < s2.size(); }
When compiled it says: "error call to non-constexpr function"
Aucun commentaire:
Enregistrer un commentaire