Home What does this syntax mean in C++?
Reply: 0

What does this syntax mean in C++?

user606 Published in March 24, 2018, 12:34 am

Ok, I was playing around on c++ standard header files, and I came with this following syntax,

template<typename _Rep>
struct treat_as_floating_point
    : is_floating_point<_Rep>

Before you comment "Do you at least know what's a template?".

Yes, I know how to use templates, structs that is the same as classes except for the public and private, and I know how to use classes.

So, I thought it was some kind of member initialization because of the :, with Template Specialization, but I don't have any idea.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.298062 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO