#include <ternary.hh>
Public Types | |
| typedef T::result | result |
Public Member Functions | |
| template<typename Pt > | |
| result | operator() (const Pt &p) const |
| ternary_ (const Function_v2b< P > &f_pred, const Function_v2v< T > &f_true, const Function_v2v< F > &f_false) | |
Protected Attributes | |
| const F | f_false_ |
| const P | f_pred_ |
| const T | f_true_ |
| typedef T ::result mln::fun::p2v::ternary_< P, T, F >::result |
| mln::fun::p2v::ternary_< P, T, F >::ternary_ | ( | const Function_v2b< P > & | f_pred, | |
| const Function_v2v< T > & | f_true, | |||
| const Function_v2v< F > & | f_false | |||
| ) | [inline] |
| T::result mln::fun::p2v::ternary_< P, T, F >::operator() | ( | const Pt & | p | ) | const [inline] |
const F mln::fun::p2v::ternary_< P, T, F >::f_false_ [protected] |
const P mln::fun::p2v::ternary_< P, T, F >::f_pred_ [protected] |
const T mln::fun::p2v::ternary_< P, T, F >::f_true_ [protected] |
1.7.1