Tuple<> Class Template Reference

#include <tuple.h>

Detailed Description

template<>
class maxon::Tuple<>

Specialization for a Tuple without any elements.

Public Types

using Pack = ParameterPack<>
 

Public Member Functions

const StringToString (const FormatStatement *) const
 
UInt GetHashCode () const
 
Bool operator== (const Tuple &other) const
 
Bool operator< (const Tuple &other) const
 
 MAXON_OPERATOR_COMPARISON (Tuple)
 

Static Public Attributes

static const Int COUNT
 

Member Typedef Documentation

◆ Pack

using Pack = ParameterPack<>

Member Function Documentation

◆ ToString()

const String& ToString ( const FormatStatement ) const

Formats an empty tuple as a string.

Returns
Always "()"_s.

◆ GetHashCode()

UInt GetHashCode ( ) const

Calculates hash code of an empty tuple.

Returns
Always 0.

◆ operator==()

Bool operator== ( const Tuple<> &  other) const

◆ operator<()

Bool operator< ( const Tuple<> &  other) const

◆ MAXON_OPERATOR_COMPARISON()

MAXON_OPERATOR_COMPARISON ( Tuple<>  )

Member Data Documentation

◆ COUNT

const Int COUNT
static