By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,852 Members | 2,123 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,852 IT Pros & Developers. It's quick & easy.

std::string too large?

P: n/a
Hi guys, just a quick question I need to ask:

If I set the value of a std::string and it is too large, will it throw
an exception or will it set the value to an empty string?

I know it would probably very rarely happen, but it's always best to
know what would happen, right? :)

Aug 7 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.