R
Rich Herrick
I don't know if this is not allowed or there is a bug in g++. If I have the
following definition:
typedef std::deque<const std::string> string_deque;
the compiler complains (in summary) that it cannot overload the allocator.
If I remove "const" thus:
typedef std::deque<std::string> string_deque;
the compilation is successful.
It is me or is it a bug?
Thanks.
following definition:
typedef std::deque<const std::string> string_deque;
the compiler complains (in summary) that it cannot overload the allocator.
If I remove "const" thus:
typedef std::deque<std::string> string_deque;
the compilation is successful.
It is me or is it a bug?
Thanks.