---
name: "CT"
section: "3"
platform: "linux"
package: "tau"
version: "2.17.3.1.dfsg-4.2"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/CT"
---

# CT(3)

Returns the type information for a variable

## NAME

CT - Returns the type information for a variable

## SYNOPSIS

**C/C++:**

**CT(\<type\>** *variable***);**

## DESCRIPTION

The CT macro returns the runtime type information string of a variable. This is useful in constructing the type parameter of the TAU\_PROFILE macro. For templates, the type information can be constructed using the type of the return and the type of each of the arguments (parameters) of the template. The example in the following macro will clarify this.

## EXAMPLE

**C/C++ :**

```
TAU_PROFILE("foo::memberfunc()", CT(*this), TAU_DEFAULT);
```

## SEE ALSO

TAU\_PROFILE, [TAU\_PROFILE\_TIMER(3)](/TAU_PROFILE_TIMER/3.md), [TAU\_TYPE\_STRING(3)](/TAU_TYPE_STRING/3.md)
