User profile: doug4

User info
User name:doug4
Number of posts:1535
Latest posts:

why testing for member pointer determines the template type is a class?
Is the last closing parenthesis in the wrong place in line 7 of the initial post? It seems to me th...

const keyword in function declaration
If you only erased 'const' from line 7, then your function definition (line 22) did not match the fu...

vector multi template argument _Tp is the data type of the members of the vector _A...

Assign to a specific memory address
Why do you want to do this? You are circumventing the C++ memory management system, and now you are...

; missing before cout
In line 5 of the first snippet, you have an [code]else[/code] statement. It takes the next statemen...