I've looked for it but I've not been able to find a solution. Sorry it this has been already posted.
I have to create a stxxl::map structure mapping const char* into const char* (the optimum would be string into string but I am aware stxxl containers don't accept non POD)
I have a problem defining the comp_type structure for const char*. Has anybody an example of that?
Here's the one that I wrote:
struct comp_type : public std::less<const char*>
{
static int max_value()
{
return (std::numeric_limits<char>::max)();
}
};