libycxx

member function template · 4 overloads

std::optional::and_then

Scope
std::optional
cppreference
std::optional nearest page

Overloads

  1. template<class F>
    constexpr auto and_then(F&& f) &;
    (1)
  2. template<class F>
    constexpr auto and_then(F&& f) &&;
    (2)
  3. template<class F>
    constexpr auto and_then(F&& f) const &;
    (3)
  4. template<class F>
    constexpr auto and_then(F&& f) const &&;
    (4)