Re:C++ Patterns: The Badge
by akling on Wednesday June 12, 2019 @08:05AM
(#20163666)
Hmm, IMO Badge has two main advantages over your approach:
1. Aesthetics. (This is down to personal taste of course, but I much prefer how Badge gets the job done without needing multiple lines of code at every declaration.)
2. What if I need to put the function implementation out-of-line?
1. Aesthetics. (This is down to personal taste of course, but I much prefer how Badge gets the job done without needing multiple lines of code at every declaration.)
2. What if I need to put the function implementation out-of-line?