So I have finally come up with a set of closely related classes that do what I want:
- Color space (RGB, grayscale) classes with configurable channel width
- Container classes for the colors that support automatic conversions between them and seem (!) to be reasonably fast and reliable.
The code is spread over a number of files (~10), and has grown to considerable size (~25 kB). It includes doxygen comments that produce some bloat (only 50% are real code), and now I'm not sure how to present it here.
Quite a lot of it has been posted here before, so some parts could be considered follow-ups (I have experience with those) and should be treated as such. Now I have a slightly different situation, on a higher level, but I also want to know if I have made some serious mistakes.
My current plan is:
- post each of the major parts in their own question, especially those parts than can be considered follow-ups (and add mutual links). Link to the "meta question" described below.
- post a "meta-question" that is used to address everything that cannot be discussed by just looking at one part. Link to all parts.
This seems to be a good way of asking for low-level advice on the inidvidual parts, and for more high-level advice in the "meta question". Is that a good way of asking for advice in this situation?