Specialization of ‘template struct std::less’ in different namespace

This is still the way to do it. Unfortunately you cannot declare or define functions within a namespace like you would do with a class: you need to actually wrap them in a namespace block.

Leave a Comment