Added 'CLI-safe' versions of singleton.hpp and currency classes to new folder CLI.  These files are intended to replace the existing QuantLib where CLI wrappers are being used and avoids issues associated with static variables and CLR shutdown.  Please see the ReadMe file in the CLI folder for further details.

Signed-off-by: Simon Shakeshaft <simon.shakeshaft@estrategy-solutions.com>
Added additional test case for Thirty360 daycounter (BondBasis and EurobondBasis).

Signed-off-by: Simon Shakeshaft <simon.shakeshaft@estrategy-solutions.com>
Corrected flag usage in test-suite/bin/runtest.bat.

Signed-off-by: Simon Shakeshaft <simon.shakeshaft@estrategy-solutions.com>
Separated implementation into cpp file, but this requires explicit template instantiations.

commented out #include <ql/types.hpp> not required?

Signed-off-by: Simon Shakeshaft <simon.shakeshaft@estrategy-solutions.com>
Moved implementations to .cpp files - works around an issue when using CLI wrappers.

see: http://connect.microsoft.com/VisualStudio/feedback/details/336844/static-variable-in-native-method-causes-exception-c0020001-during-process-exit
Refactor #include <ql/settings.hpp> to .cpp not reqd in .hpp.

Signed-off-by: Simon Shakeshaft <simon.shakeshaft@estrategy-solutions.com>
Refactor #include <ql/patterns/visitor.hpp>

Replace #include <ostream> with forward declared <iosfwd>

Signed-off-by: Simon Shakeshaft <simon.shakeshaft@estrategy-solutions.com>
Only require singleton.hpp to resolve an issue with the destruction of static objects on exit, when using CLI wrappers.

Signed-off-by: Simon Shakeshaft <simon.shakeshaft@estrategy-solutions.com>
fixed extrapolation problem for VC9
Merge remote-tracking branch 'upstream/master' into quantlib-merge
added MaddockInverseCumulativeNormal (proxy for the corresponding boost
implementation)
fixed compiler issue with clang++ 3.3 and boost-1.53 in
test-suite/convertiblebonds.cpp
test only if boost version supports InverseCumulativeNormalDistribution
Reorder header.
Restore original singleton implementation.

First step in using a define to switch between the working
implementations for the compiler switch being used.
Add missing includes.
Add new files to build.
Switch singleton implementation when using CLR.
Replace deprecated test macros with current version.
Merge pull request #41 from Simon Shakeshaft.

Allow singletons to work under Visual C++ when CLR is enabled.
abstract out the projection from ProjectedCostFunction and add a ProjectedConstraint class