[mlpack-git] [mlpack] moving cliDeleter instance to log.cpp (#524)

Joseph Mariadassou notifications at github.com
Thu Feb 25 20:21:26 EST 2016


Regarding your other suggestion of moving the log objects to CLI: all that is required to ensure that the singleton CLI object is deleted while the Log object are alive. Moving cliDeleter object to Log.cpp should do that. 
Since ProgramDoc constructor uses CLI singleton and we cannot guarantee that ProgramDoc will be constructed only after the Log objects are created because they are in different files, I am now fixated unless I see code to the contrary, on the the idea that all we can do is ensure  cliDeleter is constructed after Log objects and that no static construction of CLI uses Log objects.

---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/524#issuecomment-189068548
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160225/8144c4ff/attachment.html>


More information about the mlpack-git mailing list