Look at this snippet:
struct [[nodiscard]] Result { }; struct DiscardableResult: Result { };
Does DiscardableResult have the [[nodiscard]] attribute? If yes, is it possible to remove it somehow?
DiscardableResult
[[nodiscard]]
Aucun commentaire:
Enregistrer un commentaire