bool OERemoveFormalCharge(OEChem::OEMolBase &mol)
bool OERemoveFormalCharge(OEChem::OEMCMolBase &mol)

This function will attempt to remove all formal charges from mol in a manner that is consistent with adding and removing implicit or explicit protons. This method will not create radicals and will not attach more protons to an atom than is acceptable in that atom’s standard valence form. Please note that the formal charge of quaternary amines is not removed with this command.


* :ref:`section_examples_summary_enumeratetautomers` code example