CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
TRange.h File Reference
#include <iostream>
#include <utility>
#include <algorithm>

Go to the source code of this file.

Classes

class  TRange< T >
 

Functions

template<class T >
std::ostream & operator<< (std::ostream &out, const TRange< T > &r)
 

Function Documentation

template<class T >
std::ostream& operator<< ( std::ostream &  out,
const TRange< T > &  r 
)

Definition at line 63 of file TRange.h.

References TRange< T >::max(), and TRange< T >::min().

65 {
66  return out << "("<<r.min()<<","<<r.max()<<")";
67 }
const T & min() const
lower edge of range
Definition: TRange.h:23
const T & max() const
upper edge of range
Definition: TRange.h:26