hatcat / cg30_issues

The public issues repository for the book "Beautiful C++"
4 stars 1 forks source link

Page 298: Not allowed to make this specialization #39

Open Ukilele opened 2 years ago

Ukilele commented 2 years ago

Page 298 adds a specialization of std::default_delete for std::FILE. According to http://eel.is/c++draft/namespace.std this is not allowed as std::FILE is not a program-defined type.

Label: 5.6: E6