Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

2
Static template class?
Post Flair (click to view more posts with a particular flair)
Post Body

Is there a way that I could make a 'static template class' where there is a separate instance of the class for every type it is used for(so it would be used like this: Example<int>::AddToArray(5); and Example<std::string>::AddToArray("abc") which would add 5 to an array of ints and "abc" to an array strings.)

Author
Account Strength
100%
Account Age
10 years
Verified Email
Yes
Verified Flair
No
Total Karma
55,734
Link Karma
14,503
Comment Karma
40,957
Profile updated: 2 days ago
Posts updated: 8 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
8 years ago