Skip to main content
Share Your Experience: Take the 2024 Developer Survey
6 votes
Accepted

Multi-dimensional Image Data Structure with Variadic Template Functions in C++

Allow 1D images One-dimensional images are not that uncommon in computer graphics. There is no reason why your class couldn't be made to support them. Make the constructors generic Instead of having 4 ...
G. Sliepen's user avatar
  • 57.9k
3 votes

Logger using variadic macros

Reinventing the wheel I have to do a big project. Let's start by rolling a logger. Bad idea, procrastination, there are plenty of loggers available. Also this is not so well suited for learning as ...
stefan's user avatar
  • 2,980
2 votes
Accepted

An Updated Multi-dimensional Image Data Structure with Variadic Template Functions in C++

Apply the techniques you have learned to all of the code In the past reviews of your questions we have repeatedly stressed that you should simplify the code, reduce code duplication and make it more ...
G. Sliepen's user avatar
  • 57.9k

Only top scored, non community-wiki answers of a minimum length are eligible