CT(3)

CT3

Returns the type information for a variable

Usage

C/C++:

CT(<type> variable);

Overview

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.

Examples

C/C++ :

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

Releases

Unchanged in 5 releases since Debian 4.0 (Etch).

  1. 4.0–9

From tau 2.17.3.1.dfsg-4.2 in Debian 9 (Stretch). Parsed by carta from the page's man source.