lilzz wrote:1) ClassA &* tempA;
I guess that's a pointer to a reference. Why do you need a pointer to a reference? isn't a reference almost like a pointer itself.
2) ClassB<templA, templB>Ar (3, 4, 1)
what does it means <templA, templB> ? I have seen one template parameter inside but not two. What's (3, 4, 1)? Array initialization? An array of 3 initialized to 3, 4, 1?
3)[*ilx](index)
what's this ? dereference of ilx and then [ ] and a parameter of index?
1. Reference to a pointer?
2. Template can have as many parameters as you want. The parameters will depend on the template/class definition.
3. A pointer to a function which is called with the parameter index
As others have said, you have posted a lot of c++ etc questions recently, none of which appear to be Pi related. Please consider using a C++ forum for these types of questions, or searching up front with Google.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.