30/09/2018, 20:34

Pure Evil C++ Header

Cái này có lâu rồi mà bây giờ mình mới biết :))
Mà thấy hay nên share luôn cho ai chưa biết như mình

gist.github.com

https://gist.github.com/aras-p/6224951

preprocessor_fun.h
// Just before switching jobs:
// Add one of these.
// Preferably into the same commit where you do a large merge.
//
// This started as a tweet with a joke of "C++ pro-tip: #define private public",
// and then it quickly escalated into more and more evil suggestions.
// I've tried to capture interesting suggestions here.
//
// Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_,
// @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant,
This file has been truncated. show original

Bài liên quan
0