Well it does actually here's how...
Wrap the function inside a local class (!?). Yes, you can define a local class/struct inside a function, and then use the local class's functions willy-nilly.
It's verbose but it works well, here's a snippit:
void Foo() {
struct BarFunction {
static void Bar() { /*...*/ }
};
BarFunction::Bar();
}
~Z~
No comments:
Post a Comment