GCC Middle and Back End API Reference
edit_distance_traits< TYPE > Struct Template Reference

#include <spellcheck.h>

Detailed Description

template<typename TYPE>
struct edit_distance_traits< TYPE >
A traits class for describing a string-like type usable by
class best_match.
Specializations should provide the implementations of the following:

  static size_t get_length (TYPE);
  static const char *get_string (TYPE);

get_string should return a non-NULL ptr, which does not need to be
0-terminated.   

The documentation for this struct was generated from the following file: