Apache Mesos
Classes | Namespaces | Functions
option.hpp File Reference
#include <assert.h>
#include <algorithm>
#include <functional>
#include <type_traits>
#include <utility>
#include <boost/functional/hash.hpp>
#include <stout/none.hpp>
#include <stout/some.hpp>

Go to the source code of this file.

Classes

class  Option< T >
 
struct  std::hash< Option< T > >
 

Namespaces

 std
 

Functions

template<typename T >
Option< T > min (const Option< T > &left, const Option< T > &right)
 
template<typename T >
Option< T > min (const Option< T > &left, const T &right)
 
template<typename T >
Option< T > min (const T &left, const Option< T > &right)
 
template<typename T >
Option< T > max (const Option< T > &left, const Option< T > &right)
 
template<typename T >
Option< T > max (const Option< T > &left, const T &right)
 
template<typename T >
Option< T > max (const T &left, const Option< T > &right)
 

Function Documentation

template<typename T >
Option<T> max ( const Option< T > &  left,
const Option< T > &  right 
)
template<typename T >
Option<T> max ( const Option< T > &  left,
const T &  right 
)
template<typename T >
Option<T> max ( const T &  left,
const Option< T > &  right 
)
template<typename T >
Option<T> min ( const Option< T > &  left,
const Option< T > &  right 
)
template<typename T >
Option<T> min ( const Option< T > &  left,
const T &  right 
)
template<typename T >
Option<T> min ( const T &  left,
const Option< T > &  right 
)