I am unable to understand the below statement and also how to use it? Statement
using A = ::B::C<::D::E, F>
Following are the things, I would like to know:
- My understanding is that using is a keyword for aliasing. So instead of
::B::C<::D::E, F>
, I can use A. Is this correct? - What is the role of :: before B? As far as I know B is a namespace.
- Does :: before B and :: before D imply same thing?
- What does angular bracket <> do? Can I assume it as function () with 2 arguments?
- How to use A? can I use A like we use functions? Something like A(G, H)?
I have good understanding of basic c++ i.e. loops, arrays, functions, basic classes, basic inheritance etc. In other words, things present in C programming language along with basic OOPs.
Thank you in advance.