QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Protected Member Functions | List of all members
CuriouslyRecurringTemplate< Impl > Class Template Reference

Support for the curiously recurring template pattern. More...

#include <curiouslyrecurring.hpp>

+ Inheritance diagram for CuriouslyRecurringTemplate< Impl >:
+ Collaboration diagram for CuriouslyRecurringTemplate< Impl >:

Protected Member Functions

 CuriouslyRecurringTemplate ()=default
 
 ~CuriouslyRecurringTemplate ()=default
 
Impl & impl ()
 
const Impl & impl () const
 

Detailed Description

template<class Impl>
class QuantLib::CuriouslyRecurringTemplate< Impl >

Support for the curiously recurring template pattern.

See James O. Coplien. A Curiously Recurring Template Pattern. In Stanley B. Lippman, editor, C++ Gems, 135-144. Cambridge University Press, New York, New York, 1996.

Definition at line 39 of file curiouslyrecurring.hpp.

Constructor & Destructor Documentation

◆ CuriouslyRecurringTemplate()

CuriouslyRecurringTemplate ( )
protecteddefault

◆ ~CuriouslyRecurringTemplate()

~CuriouslyRecurringTemplate ( )
protecteddefault

Member Function Documentation

◆ impl() [1/2]

Impl & impl ( )
protected

Definition at line 45 of file curiouslyrecurring.hpp.

+ Here is the caller graph for this function:

◆ impl() [2/2]

const Impl & impl ( ) const
protected

Definition at line 48 of file curiouslyrecurring.hpp.