Swap의 생성자는
handle로서 discount curve를 그리고
simple shared pointers로서 cash flows를 수용했는지 궁금할 것이다.

이것은 handle의 linkTo 함수를 호출함으로서 다른 curve로 교체할때 유용할 것이다.
반면, cash flows는 swap 정의의 일부분이므로 immutable하다. 

'quantlib > Implementation' 카테고리의 다른 글

class template & Function Template  (0) 2011.06.15
Aside: impure virtual methods  (0) 2011.06.15
Aside: Const or not const?  (0) 2011.06.09
2. Financial instruments and pricing engines  (0) 2011.06.06
1. Introduction  (0) 2011.06.06
Posted by karlsen

블로그 이미지
Pricing, hedging, risk-managing a complex derivative product
karlsen

태그목록

공지사항

Yesterday
Today
Total

달력

 « |  » 2024.9
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30

최근에 올라온 글

최근에 달린 댓글

최근에 받은 트랙백

글 보관함