In his book "Modern Computational Finance, AAD and Parallel Simulation", Antoine Savine writes page 263 in the footnote : "We could have more properly implemented the store with GOF’s singleton template, like we did for the thread pool in Section 3.18."

In the section in question he indeed defines the Thread pool object using the singleton pattern that he roughly lays up, I understand that, but I don't understand how he could use the same pattern for the product and the model stores that he basic initially defines as a C++ hash map. And does he wants a store containing models and products at the same time or ?



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.