Merged latest changes from 1.2.x branch

git-svn-id: https://quantlib.svn.sourceforge.net/svnroot/quantlib/trunk/QuantLib@18449 8618b1d8-e22c-0410-b026-96a5dba3e089
Moved test from boost::random to our generators.

This prevents results from changing when the Boost implementation
changes (which I wouldn't have expected, but seems to have happened
in development after Boost 1.53).

git-svn-id: https://quantlib.svn.sourceforge.net/svnroot/quantlib/trunk/QuantLib@18450 8618b1d8-e22c-0410-b026-96a5dba3e089
Deprecated features of Boost.Test are no longer used

git-svn-id: https://quantlib.svn.sourceforge.net/svnroot/quantlib/trunk/QuantLib@18451 8618b1d8-e22c-0410-b026-96a5dba3e089
Fixed array access in tests.



git-svn-id: https://quantlib.svn.sourceforge.net/svnroot/quantlib/trunk/QuantLib@18452 8618b1d8-e22c-0410-b026-96a5dba3e089
Prevented warning in VC++10.



git-svn-id: https://quantlib.svn.sourceforge.net/svnroot/quantlib/trunk/QuantLib@18453 8618b1d8-e22c-0410-b026-96a5dba3e089
Pass correct ATM forward rate to smile section (thanks to Peter Caspers).

git-svn-id: https://quantlib.svn.sourceforge.net/svnroot/quantlib/trunk/QuantLib@18455 8618b1d8-e22c-0410-b026-96a5dba3e089
Added exogenous discount to OptionletStripper1 (thanks to Peter Caspers).

git-svn-id: https://quantlib.svn.sourceforge.net/svnroot/quantlib/trunk/QuantLib@18456 8618b1d8-e22c-0410-b026-96a5dba3e089
Increased precision in tail of West's bivariate cumulative normal.

Thanks to Fabien Le Floc'h.

git-svn-id: https://quantlib.svn.sourceforge.net/svnroot/quantlib/trunk/QuantLib@18457 8618b1d8-e22c-0410-b026-96a5dba3e089
Fixed unused-parameter warnings for VC++ warning level 4.

Thanks to Michael Sharpe.

git-svn-id: https://quantlib.svn.sourceforge.net/svnroot/quantlib/trunk/QuantLib@18458 8618b1d8-e22c-0410-b026-96a5dba3e089
Fixed uninitialized-variable warnings in VC++ warning level 4.

Thanks to Michael Sharpe.

git-svn-id: https://quantlib.svn.sourceforge.net/svnroot/quantlib/trunk/QuantLib@18459 8618b1d8-e22c-0410-b026-96a5dba3e089
Fixed unused-variable warnings in VC++ warning level 4.

Thanks to Michael Sharpe.

git-svn-id: https://quantlib.svn.sourceforge.net/svnroot/quantlib/trunk/QuantLib@18460 8618b1d8-e22c-0410-b026-96a5dba3e089
Add explicit static_cast to silence VC++ warning.

Thanks to Michael Sharpe.

git-svn-id: https://quantlib.svn.sourceforge.net/svnroot/quantlib/trunk/QuantLib@18461 8618b1d8-e22c-0410-b026-96a5dba3e089
Declared a few methods as inline to work around a VC++ bug.

See <http://stackoverflow.com/questions/3051992/compiler-warning-at-c-template-base-class>.

Thanks to Michael Sharpe.

git-svn-id: https://quantlib.svn.sourceforge.net/svnroot/quantlib/trunk/QuantLib@18462 8618b1d8-e22c-0410-b026-96a5dba3e089
Prevented uninitialized-variable warning.

Extracted if/else clause in Concentrating1dMesher constructor outside
the for loop and improved scope of variables so that c1 and c2 are
initialized at declaration time.

Thanks to Michael Sharpe.

git-svn-id: https://quantlib.svn.sourceforge.net/svnroot/quantlib/trunk/QuantLib@18463 8618b1d8-e22c-0410-b026-96a5dba3e089
Removed or commented out unreachable code.

Thanks to Michael Sharpe.

git-svn-id: https://quantlib.svn.sourceforge.net/svnroot/quantlib/trunk/QuantLib@18464 8618b1d8-e22c-0410-b026-96a5dba3e089
Avoided warnings for constant conditional expressions in VC++.

Thanks to Michael Sharpe.

git-svn-id: https://quantlib.svn.sourceforge.net/svnroot/quantlib/trunk/QuantLib@18465 8618b1d8-e22c-0410-b026-96a5dba3e089
Enforce static requirement at compile time.

Thanks to Michael Sharpe.

git-svn-id: https://quantlib.svn.sourceforge.net/svnroot/quantlib/trunk/QuantLib@18466 8618b1d8-e22c-0410-b026-96a5dba3e089
Updated VC++ and Dev-C++ projects.

git-svn-id: https://quantlib.svn.sourceforge.net/svnroot/quantlib/trunk/QuantLib@18467 8618b1d8-e22c-0410-b026-96a5dba3e089