Blaze  3.6
blaze::IsLValueReference< T > Struct Template Reference

Compile time type check.This class tests whether the given template parameter T is an lvalue reference type. If it is an lvalue 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. More...

#include <IsLValueReference.h>

Inherits blaze::IntegralConstant< T, N >.

Detailed Description

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

Compile time type check.

This class tests whether the given template parameter T is an lvalue reference type. If it is an lvalue 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::IsLValueReference<int (&)(int)> // Is derived from TrueType
blaze::IsLValueReference<int>::value // Evaluates to 'false'
blaze::IsLValueReference<int (A::*)(int)> // Is derived from FalseType

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