← Back to team overview

kicad-developers team mailing list archive

Using OPT types


What is the current consensus on using OPT types in the code? I know there
are some instances where we are already using them from the Boost library
(since our C++ version isn't high enough to include them), but is that
considered a good type to use more of?

I am curious, because I am thinking of replumbing the position storage in
the tool events to use OPTs for the position, because that will allow for
cleaner handling of the position in the tools, and also because I need to
pass the positions into the selection routines, and being able to pass an
OPT will greatly simplify things (I think).


Follow ups