Archived

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

AHa

MSVC Deque/string

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