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

#include <spellcheck.h>

Inheritance diagram for edit_distance_traits< StringlikeType >:

Detailed Description

template<typename StringlikeType>
struct edit_distance_traits< StringlikeType >
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 (StringlikeType); static const char *get_string (StringlikeType); 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: