# Glib::Variant< T > Class Template Reference
[Variant Datatype]

Template class used for the specialization of the Glib::Variant<> classes. More...

`#include <glibmm/variant.h>`

Inheritance diagram for Glib::Variant< T >:
[legend]

List of all members.

## Public Types

typedef T | CppType

## Detailed Description

### template <class T>
class Glib::Variant< T >

Template class used for the specialization of the Glib::Variant<> classes.

Since glibmm 2.28:

## Member Typedef Documentation

template <class T >

typedef T Glib::Variant< T >::CppType