Re: [QuantLib-svn] SF.net SVN: quantlib: [12538] trunk/QuantLib/ql/cashflows
Posted by
Ferdinando M. Ametrano-3 on
URL: http://quantlib.414.s1.nabble.com/Re-QuantLib-svn-SF-net-SVN-quantlib-12538-trunk-QuantLib-ql-cashflows-tp9755p9756.html
Hi Luigi
> Any particular reason to separate the enumeration from where the
> duration calculation is implemented?
I'm trying to use forward declaration in order to avoid early hpp
inclusion. The point is that when Duration::Type is included in any
input parameters list you need to import its definition even if you
don't need all the rest of ql/cashflows/cashflows.hpp
The same has been done for most enumerative types
(BusinessDayConvention, Time Unit, etc)
ciao -- Nando
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>
http://get.splunk.com/_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev