Posted by
Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/Re-QuantLib-svn-SF-net-SVN-quantlib-12538-trunk-QuantLib-ql-cashflows-tp9755p9757.html
On Fri, 2007-09-07 at 10:44 +0200, Ferdinando Ametrano wrote:
> > 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
Yes, but where is Duration::Type used other than for passing it to the
functions in cashflows.hpp?
Luigi
--
Quote me as saying I was misquoted.
-- Groucho Marx
-------------------------------------------------------------------------
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