19 void FunctorTest::testBoostOptionalFMap ()
21 std::optional<int>
value { 2 };
26 void FunctorTest::testBoostOptionalFMapEmpty ()
28 std::optional<int>
value;
33 void FunctorTest::testIsFunctorTrue ()
38 void FunctorTest::testIsFunctorFalse ()
Container< T > Filter(const Container< T > &c, F f)
FmapResult_t< T, F > Fmap(const T &functor, const F &function)
Apply the function f to the elements in functor.