What is the most handy function you've ever came across? [closed]
- by Viniyo Shouta
Obviously everything is 'handy' when it comes to programming terms, but some get a highlight spot, like containers, matrix trasnformation functions and many others. But in this case please mention the one it was more handy to you, saved you from sparing hours resolving a problem, or even the one you like more, What is it and what does it does?
I'll start with an example.
Language: C++
Function: std::sort (STL)
What does it does: Arranges the elements in a specified range into a nondescending order or according to an ordering criterion specified by a binary predicate. (It arranges a container in decreasing order)
Why of this question?
Because I want to learn how to if possible make my own implementations of these functions for pure studying purposes, to enhance knowledge