|
From: Bojan N. <bo...@bn...> - 2011-02-16 20:01:46
|
Hi,
It seems that a few recently added files to QuantLib trunk have harmless
but formally incorrect forward declarations of form (e.g., in
cpibond.hpp):
namespace QuantLib
{
class QuantLib::Schedule;
}
My compiler simply ignores these and issues a warning. They should be of
form:
namespace QuantLib {
class Schedule;
}
i.e., if you need to forward-declare a nested class you need to do
namespace A {
namespace B{
class C;
}
}
But in this case I think the forward declaration are unnecessary.
Best,
Bojan
--
Bojan Nikolic || http://www.bnikolic.co.uk/ql
|