Open dcolli23 opened 4 years ago
I'm not quite sure the best way to do this. At the root of the problem, I need to store at least the individual nutrients' amount per serving size. Now, I could adapt the Measurement
class to contain serving size information for each nutrient, but that leads to extremely redundant information (where I could store this just once per ingredient).
Right now I'm leaning towards just storing the serving size once (where serving size is also a uniTypes
type.
Description
I've done some work on some type definitions for units in C++ (adapted from someone else's write up on the matter) and now I need to switch over to using that instead of my previous
Measurement
class.