News for hackers. Stuff that matters.
Re:C++ Patterns: The Badge by akling on Tuesday June 11, 2019 @11:27PM (#20161529)
If an argument is nameless, the compiler won't complain about it being unused.

No warning:

    void VFS::register_device(Badge<Device>, Device& device) { ... }
Warning:

    void VFS::register_device(Badge<Device> badge, Device& device) { ... }

There are no comments on this comment yet.