lballabio / QuantLib-SWIG

QuantLib wrappers to other languages
Other
339 stars 282 forks source link

Expose `reset` function in calendar base class #597

Closed gbfredrik closed 10 months ago

gbfredrik commented 10 months ago

New test to ensure it's usable.

I'd also like to expose addedHolidays() and removedHolidays(), but it seems rather tricky to expose std::set with SWIG (as opposed to an std::unordered_set). If anyone else can have a go, feel free! This might be a relevant reference: Stack Overflow