duplet Struct Reference

Public Types

typedef int value_type
 

Public Member Functions

bool operator!= (duplet const &other) const
 
bool operator== (duplet const &other) const
 
value_type operator[] (int const N) const
 

Public Attributes

value_type d [2]
 

Friends

ostream & operator<< (ostream &o, duplet const &d)
 

Member Typedef Documentation

◆ value_type

Member Function Documentation

◆ operator!=()

bool duplet::operator!= ( duplet const &  other) const

References d.

◆ operator==()

bool duplet::operator== ( duplet const &  other) const

References d.

◆ operator[]()

value_type duplet::operator[] ( int const  N) const

References d.

Friends And Related Function Documentation

◆ operator<<

ostream & operator<< ( ostream &  o,
duplet const &  d 
)
friend

Member Data Documentation

◆ d

value_type duplet::d[2]

Referenced by operator!=(), operator==(), and operator[]().


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