|  | Home | Libraries | People | FAQ | More | 
            is_char is a metafunction
            that detects if a given type is a character.
          
#include <boost/spirit/home/support/string_traits.hpp>
Also, see Include Structure.
| ![[Note]](../../../../images/note.png) | Note | 
|---|---|
| This header file does not need to be included directly by any user program as it is normally included by other Spirit header files relying on its content. | 
| Name | 
|---|
| 
                       | 
template <typename T> struct is_char { <unspecified>; };
| Parameter | Description | Default | 
|---|---|---|
| 
                       | The type to detect. | none | 
Notation
TAn arbitrary type
| Expression | Semantics | 
|---|---|
| 
                       | 
                       | 
| Type | Semantics | 
|---|---|
| 
                       | 
                       | 
| 
                       | 
                       | 
| 
                       | 
                       | 
| 
                       | 
                       | 
            This customization point needs to be implemented for any strings that
            use a type other than char
            or `wchar_t to store character data.
          
If this customization point is implemented, the following other customization points need to be implemented as well.
| Name | When to implement | 
|---|---|
| 
                      Whenever  | |
| 
                      Whenever  |