Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
fixed size key sorted lexicographically

Classes

class  sysio::fixed_key< Size >
 

Functions

template<size_t Size>
bool sysio::operator== (const fixed_key< Size > &c1, const fixed_key< Size > &c2)
 Compares two fixed_key variables c1 and c2.
 
template<size_t Size>
bool sysio::operator!= (const fixed_key< Size > &c1, const fixed_key< Size > &c2)
 Compares two fixed_key variables c1 and c2.
 
template<size_t Size>
bool sysio::operator> (const fixed_key< Size > &c1, const fixed_key< Size > &c2)
 Compares two fixed_key variables c1 and c2.
 
template<size_t Size>
bool sysio::operator< (const fixed_key< Size > &c1, const fixed_key< Size > &c2)
 Compares two fixed_key variables c1 and c2.
 

Detailed Description

Function Documentation

◆ operator!=()

template<size_t Size>
bool sysio::operator!= ( const fixed_key< Size > & c1,
const fixed_key< Size > & c2 )

Lexicographically compares two fixed_key variables c1 and c2

Returns
if c1 != c2, return true, otherwise false

Definition at line 193 of file fixed_key.hpp.

193 {
194 return c1._data != c2._data;
195 }

◆ operator<()

template<size_t Size>
bool sysio::operator< ( const fixed_key< Size > & c1,
const fixed_key< Size > & c2 )

Lexicographically compares two fixed_key variables c1 and c2

Returns
if c1 < c2, return true, otherwise false

Definition at line 215 of file fixed_key.hpp.

215 {
216 return c1._data < c2._data;
217 }

◆ operator==()

template<size_t Size>
bool sysio::operator== ( const fixed_key< Size > & c1,
const fixed_key< Size > & c2 )

Lexicographically compares two fixed_key variables c1 and c2

Returns
if c1 == c2, return true, otherwise false

Definition at line 182 of file fixed_key.hpp.

182 {
183 return c1._data == c2._data;
184 }

◆ operator>()

template<size_t Size>
bool sysio::operator> ( const fixed_key< Size > & c1,
const fixed_key< Size > & c2 )

Lexicographically compares two fixed_key variables c1 and c2

Returns
if c1 > c2, return true, otherwise false

Definition at line 204 of file fixed_key.hpp.

204 {
205 return c1._data > c2._data;
206 }