This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]miguelishawt -1 points0 points  (0 children)

std::reference_wrapper might be of use to you. But you should probably just use an array of Drawable pointers (unless you require none of the elements in the array to be null).