JX Application Framework
Loading...
Searching...
No Matches
Functions
JRange.tmpl File Reference
#include "JMinMax.h"
#include <limits>

Functions

template<class T >
JRange< T > JCovering (const JRange< T > &r1, const JRange< T > &r2)
 
template<class T >
bool JIntersection (const JRange< T > &r1, const JRange< T > &r2, JRange< T > *result)
 
template<class T >
std::istream & operator>> (std::istream &input, JRange< T > &range)
 
template<class T >
std::ostream & operator<< (std::ostream &output, const JRange< T > &range)
 

Function Documentation

◆ JCovering()

template<class T >
JRange< T > JCovering ( const JRange< T > &  r1,
const JRange< T > &  r2 
)

◆ JIntersection()

template<class T >
bool JIntersection ( const JRange< T > &  r1,
const JRange< T > &  r2,
JRange< T > *  result 
)

Returns true if the result is not empty.

◆ operator<<()

template<class T >
std::ostream & operator<< ( std::ostream &  output,
const JRange< T > &  range 
)

◆ operator>>()

template<class T >
std::istream & operator>> ( std::istream &  input,
JRange< T > &  range 
)