Hello,
I'm new to C++ and I need to achieve a way where I need to pass variables via template like below:
There are subclasses of Category. where I have three types of Box and 4 types of Shelf and each class contains the different logic, mean total 12 subclasses, I need to select class based on box and shelf input valueCode:Category<box, shelf>(params)
How can I achieve this?