When I create a MoveList, it seems like you can't have an expression for the color, you just need to specify a constant WHITE or BLACK. Currently, this means that I can't switch between which color I'm generating moves for at runtime with just one MoveList. I would have to separately make a WHITE and BLACK MoveList every time I want to access it, since creating a MoveList requires the color as a constant.
How do I get around this, am I missing something? I'm not super experienced with C++ and haven't worked withe templates before.