MySQL 9.6.0
Source Code Documentation
mysql::ranges::Default_unfold Struct Reference

Default Unfold class. More...

#include <flat_view.h>

Static Public Member Functions

static constexpr const auto & unfold (const std::ranges::range auto &source)
 

Detailed Description

Default Unfold class.

In general, an Unfold class has a static member function unfold that takes an object as argument and returns a range (satisfying std::ranges::range). T can be thought of as a "placeholder" from which an appropriate Unfold class can extract a range.

This Unfold class is defined for the special case that T is a range already, and its unfold member function returns the parameter unchanged.

Member Function Documentation

◆ unfold()

static constexpr const auto & mysql::ranges::Default_unfold::unfold ( const std::ranges::range auto &  source)
inlinestaticconstexpr

The documentation for this struct was generated from the following file: