News for hackers. Stuff that matters.
Re:C++ Patterns: The Badge by microtherion on Tuesday June 11, 2019 @07:44PM (#20160528)
That's not a legal C++ cast, but it's conceivable that it could be made to work by casting to a reference type instead.
Re:C++ Patterns: The Badge by vnorilo on Wednesday June 12, 2019 @01:52AM (#20162085)
Badge could prevent this by making the copy and move constructors private.