ref-counting usage in STL

a1) A container of pointers usually use ref-counting smart pointers

b1) strings are usually ref-counted

[ Above 2 points are unrelated but they lead to the next point ]

1) I believe a vector of POINTERS uses ref-counting smart pointers, but a vector of CHAR is never ref-counted.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s