[try Beta version]
Not logged in

 
 
Help with class

Oct 31, 2014 at 3:35pm
Could anyone please explain what the syntax
: public std::binary_function<double,double,double>
means?
 
  class DF2Yield : public std::binary_function<double,double,double>
Oct 31, 2014 at 4:01pm
It means that DF2Yield is inheriting from the class template std::binary_function with doubles as arguments. If you don't know about template classes just google them. Plenty of information out there.
Oct 31, 2014 at 4:31pm
Thank you, denormal!
Topic archived. No new replies allowed.