Lumiera  0.pre.03
»edit your freedom«
steam::engine::anonymous_namespace{weaving-pattern-builder.hpp} Namespace Reference

Classes

struct  _ProcFun
 Helper to pick up the parameter dimensions from the processing function. More...
 

Functions

template<class FUN >
constexpr uint manifoldSiz ()
 Pick a suitable size for the FeedManifold to accommodate the given function. More...
 

Function Documentation

◆ manifoldSiz()

constexpr uint steam::engine::anonymous_namespace{weaving-pattern-builder.hpp}::manifoldSiz ( )
inline

Pick a suitable size for the FeedManifold to accommodate the given function.

Remarks
only returning one of a small selection of sizes, to avoid excessive generation of template instances.
Todo:
10/24 this is a premature safety guard; need to assess if there is actually a problem (chances are that the optimiser absorbs most of the combinatoric complexity, or that, to the contrary, other proliferation mechanisms cause more harm)

Definition at line 187 of file weaving-pattern-builder.hpp.