wayfire
wayfire copied to clipboard
Avoid using [] which implicitly inserts.
[]
should be avoided where possible as it causes things that look like
simple lookups to actually perform insertions.
[]
replaced with explicit operators where possible.
[] = ...
assignments aren't too confusing but try_emplace()
is much
clearer.
C++ magic looks very pretty but can be very dangerous.