26#ifndef quantlib_exercise_type_h
27#define quantlib_exercise_type_h
78 const Date& latestDate,
Early-exercise base class.
bool payoffAtExpiry() const
EarlyExercise(Type type, bool payoffAtExpiry=false)
std::vector< Date > dates_
Date date(Size index) const
const std::vector< Date > & dates() const
Returns all exercise dates.
Date dateAt(Size index) const
virtual ~Exercise()=default
date- and time-related classes, typedefs and enumerations
std::size_t Size
size of a container