|
From: Luigi B. <lui...@gm...> - 2007-09-07 08:53:27
|
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 |