Audacity 3.2.0
Classes | Public Types | List of all members
TypeList::RightFoldList< Op, TypeList, Initial > Struct Template Reference

Like RightFold, but passing nonempty tails, not elements, to Op. More...

#include <TypeList.h>

Classes

struct  Accumulate
 
struct  Accumulate< Acc, Nil >
 

Public Types

using type = typename Accumulate< Initial, TypeList >::type
 

Detailed Description

template<template< typename Tail, typename Accumulator > class Op, typename TypeList, typename Initial>
struct TypeList::RightFoldList< Op, TypeList, Initial >

Like RightFold, but passing nonempty tails, not elements, to Op.

Definition at line 353 of file TypeList.h.

Member Typedef Documentation

◆ type

template<template< typename Tail, typename Accumulator > class Op, typename TypeList , typename Initial >
using TypeList::RightFoldList< Op, TypeList, Initial >::type = typename Accumulate<Initial, TypeList>::type

Definition at line 360 of file TypeList.h.


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