Suppose I have a function named caller, which will call a function named callee:
void caller() { callee(); }
Now caller might be called m
You could use this:
void caller() { static class Once { public: Once(){callee();}} Once_; }