cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Help with class
Help with class
Oct 31, 2014 at 3:35pm UTC
Xuan Liu
(13)
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 UTC
denormal
(12)
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 UTC
Xuan Liu
(13)
Thank you, denormal!
Topic archived. No new replies allowed.