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>
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.