Overriding std functions
c++, overriding, std
Solution
The `std` namespace is off limits, generally speaking. Adding new functions, overloads, classes or anything else to the `std` namespace is **undefined behavior*.
The only exception is template specializations. You may provide specializations of functions in the `std` namespace. A function where this is often done is `std::swap`.
Problem
I'd like to override the behavior of an std function, say std::time. Is it possible to call std::time and have it routed through my custom function?