Sign in to follow this  

reference of array or an array of references?

Recommended Posts

In C++, would the following;
 T& array[x] 
be a reference to an array, or an array of references? I'm assuming the former, but how would I go about achieving the other, if it's even a sensible thing to do

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this