<t>QuoteOriginally posted by: LeonidasThe easiest way would be a a simple static std::map defined in your CPP file before all functions are declared. Say it contains yield curves.std::map<string,YieldCurve>. After creating the yield curve, you can assign a unique ID to it and store it in the map. Yo...