you are viewing a single comment's thread
view the rest of the comments
[–] 5 points 1 year ago

I seen people use singletons in C++ for a single function. There was no justifying context either they just didn't think of putting the function in some namespace.

  • source
  • parent