Closed WrathfulSpatula closed 4 months ago
This PR replaces all instances of the !size() pattern (for a vector) with empty(), commonly used for conditionals all throughout Qrack. Ternary expressions on size() have also had their order reversed, to use empty().
!size()
empty()
size()
This PR replaces all instances of the
!size()
pattern (for a vector) withempty()
, commonly used for conditionals all throughout Qrack. Ternary expressions onsize()
have also had their order reversed, to useempty()
.