How do I define my own main() function when testing with boost?
main()
Boost is using it\'s own main function, but I\'m using a custom memory manager and it ne
You can define a static object and his constructor will execute before main:
class Alloc_Setup { Alloc_Setup() { // Your init code } ~Alloc_Setup() { // Your cleanup } }; Alloc_Setup setup; int main() {} // (generated by boost)