• 11
• 9
• 10
• 9
• 10
• entries
375
1136
• views
297903

# Small gotcha

67 views

operator <

needs to be const if you plan on using the type with std::less. If it isn't, the error message you get isn't very helpful.

There are no comments to display.