Page 3 of that tutorial reads:
“In the whole tutorial I assume that you have included the QuantLib header via
#include <ql/quantlib.hpp>
in the code. I will not state this include command in the example code explicitly, so be sure that you have included the header everywhere. Also, I will use the QuantLib namespace to make the code more readable and compact. To reproduce the code, make sure to state
Using namespace QuantLib;
in the place where you are using the code.”
Have you done that?
Definition for function boost::optional is most likely in the Boost library, which is a dependency of QuantLib. Have you installed it?
Gerardo
Da: Mike Jake [mailto:[hidden email]]
Inviato: martedì 29 maggio 2012 21.10
A: [hidden email]
Oggetto: [Quantlib-users] complete source code for QuantLib introduction,part I
Reference: http://quantlib.org/slides/dima-ql-intro-1.pdf
I have found that the code snippet in the tutorial is NOT complete.
For example,
1> I cannot find the definition for function
template <class T> boost::optional<T> getObject(const std::string& id, Error& err) on page 50
2> I cannot find the definition of variable rep_ on page 51.
Is there a place where I can download the full source code for this very good tutorial?
Thank you
Banca Profilo S.p.A. Corso Italia, 49 - 20122 Milano - Tel. 02 58408.1, Fax 02 5831 6057 Capitale Sociale Euro 136.794.106,00 i.v. Iscrizione al Registro Imprese di Milano, C.F. e P.IVA 09108700155 - [hidden email] Iscritta all’Albo delle Banche e dei Gruppi bancari Aderente al Fondo Interbancario di Tutela dei depositi Aderente al Conciliatore Bancario Finanziario e all’Arbitro Bancario Finanziario Appartenente al Gruppo bancario Banca Profilo e soggetta all’attività di direzione e coordinamento di Arepo BP S.p.A. DISCLAIMER: The information transmitted may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
| Free forum by Nabble | Edit this page |