Classes | Namespaces | Functions | Variables
fold.hpp File Reference
#include <lexy/callback/base.hpp>
Include dependency graph for fold.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  lexy::_fold< T, Arg, Inplace, Op >
 
struct  lexy::_fold_sfinae< Inplace >
 
struct  lexy::_fold_sfinae< false >
 
struct  lexy::_fold_sfinae< true >
 
struct  lexy::_fold< T, Arg, Inplace, Op >::_sink_callback
 

Namespaces

 lexy
 

Functions

template<typename T , typename Arg = T, typename... Op>
constexpr auto lexy::fold (Arg &&init, Op &&... op)
 Sink that folds all the arguments with the binary operation op. More...
 
template<typename T , typename Arg = T, typename... Op>
constexpr auto lexy::fold_inplace (Arg &&init, Op &&... op)
 

Variables

constexpr auto lexy::count = fold_inplace<std::size_t>(0u, [](std::size_t& result, auto&&...) { ++result; })
 Sink that counts all arguments. More...
 


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Jun 28 2024 02:20:08