Archived

This topic is now archived and is closed to further replies.

MSVC Deque/string

This topic is 6082 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

#include #include #include #include using namespace std; int main() { deque lines; // Make a deque of string return 0; } This generate a warning about nam,es >255 chars what happends and how to recognize it??

Share this post


Link to post
Share on other sites
Don''t worry about that. It''s only that deque is actually a typedef a template with 3 or 4 params, I don''t remember exactly. But those 3 or 4 params make the type textual description really long, longer than 255 characters.


MSVC++ debugger can only show 255 characters for types and variable name, so it just warns you that if you read type of deque in the debugger, it will be missing some chars.

It doesn''t not affect the code in any way.

Share this post


Link to post
Share on other sites