Blaze 3.9
blaze::IsRValueReference< T > Struct Template Reference

Compile time type check. More...

#include <IsRValueReference.h>

Inherits blaze::IntegralConstant< T, N >.

Detailed Description

template<typename T>
struct blaze::IsRValueReference< T >

Compile time type check.

This class tests whether the given template parameter T is an rvalue reference type. If it is an rvalue reference type, the value member constant is set to true, the nested type definition Type is TrueType, and the class derives from TrueType. Otherwise value is set to false, Type is FalseType, and the class derives from FalseType.

class A {};
blaze::IsRValueReference<volatile A&&> // Is derived from TrueType
blaze::IsRValueReference<int>::value // Evaluates to 'false'
blaze::IsRValueReference<int (&)(int)> // Is derived from FalseType
blaze::IsRValueReference<int (A::*)(int)> // Is derived from FalseType
Compile time type check.
Definition: IsRValueReference.h:79

The documentation for this struct was generated from the following file: