glibmm: Glib::Container_Helpers::TypeTraits Struct Reference

glibmm 2.33.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Types | Static Public Member Functions
Glib::Container_Helpers::TypeTraits Struct Reference
Helper classes

Generic TypeTraits implementation. More...

`#include <glibmm/containerhandle_shared.h>`

List of all members.

## Public Types
typedef T | CppType
typedef T | CType
typedef T | CTypeNonConst
## Static Public Member Functions
static CType | to_c_type (const CppType& item)
static CppType | to_cpp_type (const CType& item)
static void | release_c_type (const CType&)

## Detailed Description

Generic TypeTraits implementation.

This can be used if the C++ type is the same as the C type, or if implicit conversions between the types are available. Also, the types are required to implement copy-by-value semantics. (Ownership is just ignored.)

## Member Typedef Documentation

typedef T Glib::Container_Helpers::TypeTraits::CppType

typedef T Glib::Container_Helpers::TypeTraits::CType

typedef T Glib::Container_Helpers::TypeTraits::CTypeNonConst

## Member Function Documentation

static void Glib::Container_Helpers::TypeTraits::release_c_type | ( | const CType& |  | ) | `[inline, static]`

static CType Glib::Container_Helpers::TypeTraits::to_c_type | ( | const CppType& | item | ) | `[inline, static]`

static CppType Glib::Container_Helpers::TypeTraits::to_cpp_type | ( | const CType& | item | ) | `[inline, static]`