|
From: Luigi B. <lui...@gm...> - 2007-07-02 08:16:52
|
On Sun, 2007-07-01 at 09:47 -0700, na...@us... wrote: > Revision: 11763 > http://quantlib.svn.sourceforge.net/quantlib/?rev=11763&view=rev > Author: nando > Date: 2007-07-01 09:47:02 -0700 (Sun, 01 Jul 2007) > > Log Message: > ----------- > addFixings std::vector safe (size checked) specialization > @@ -63,6 +63,12 @@ > /*! the dates passed as arguments must be the actual calendar > dates of the fixings; no settlement days must be used. > */ > + void addFixings(const std::vector<Date>& dates, > + const std::vector<Real>& values); > + //! stores historical fixings at the given dates > + /*! the dates passed as arguments must be the actual calendar > + dates of the fixings; no settlement days must be used. > + */ > template <class DateIterator, class ValueIterator> > void addFixings(DateIterator dBegin, DateIterator dEnd, > ValueIterator vBegin) { Did we really need it? We could use the method taking iterators. Luigi -- This gubblick contains many nonsklarkish English flutzpahs, but the overall pluggandisp can be glorked from context. -- David Moser |