3 ms·
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
by akling 7y ago
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