Would it be considered safe to just check one time that these pointers are not nullptr (e.g. asserting in a constructor that the parameter specified in their
parameterID does in fact exist), but then not continually check for nullptr after that point, every time you want to use one of the pointers?
As far as I can tell, you cannot remove parameters from an AudioProcessorValueTreeState, and while technically you could destroy the AudioProcessorValueTreeState itself in your plug-in code, that would cause all kinds of hell to break loose. So, it would seem that you have a guarantee that those pointers will be valid for the lifetime of a (sane) plug-in instance. Is that a safe assumption to make?