QuantLib::Date t = todaysDate()
std::vector<QuantLib::Time> yearfracs;
std::transform(subsample.begin(),subsample.end(),
yearfracs.begin(),boost::bind(&QuantLib::ActualActual::yearFraction,&dc,t,_2))
subsample is the originary vector of dates.
The compiler reported the following error
error C2825: 'F': must be a class or namespace when followed by '::'
What is the correct syntax for doing this?
Thanks in advance
Simone