Category: C++ tagged unions

  • C++ tagged unions

    Here’s a question I posted at The Scripts Forum: I have a class which does coordinate conversions.I have several different data structures which are used to pass data in and out of this class.I have a setCoordinate function which I use to pass one of these data structures in, to set the input coordinates. Here’s…