News for hackers. Stuff that matters.
Re:C++ Patterns: The Badge by akling on Tuesday June 11, 2019 @11:20PM (#20161484)
Oh man, I got really excited when I saw this suggestion and got out of bed early to try it out.

Unfortunately it seems like default arguments can't use private constructors. Both GCC and Clang immediately fail at the declaration. Not fair, C++!

/home/andreas/src/serenity/Kernel/FileSystem/VirtualFileSystem.h:81:52: error: 'Badge<T>::Badge() [with T = Device]' is private within this context

There are no comments on this comment yet.