[EDIT]
Problem is solved so deleting the question so no one wastes time trying to solve it.
[/EDIT]
This is a discussion on Getting a const correctness error when using "sort" from STL. within the C++ Programming forums, part of the General Programming Boards category; [EDIT] Problem is solved so deleting the question so no one wastes time trying to solve it. [/EDIT]...
[EDIT]
Problem is solved so deleting the question so no one wastes time trying to solve it.
[/EDIT]
Last edited by Ralph Wiggum; 06-24-2012 at 11:48 AM.
Edit. I just read my own post and realized I did not have enough const qualifiers in there. I added the rest in and everything works. I don't see a "solved" button to mark solved, but this is now solved. Thanks.
A message board does merely exist for the purpose of you asking a question, but also as a basis of knowledge for others to look at.
So, if you would be so kind as to in the future post your question (and not edit it out after solving it), and posting the answer, if relevant, it would be great.
For information on how to enable C++11 on your compiler, look here.
よく聞くがいい!私は天才だからね! ^_^