mutable
A Database System for Research and Fast Prototyping
Loading...
Searching...
No Matches
Public Types | Private Member Functions | Friends
m::wasm::Parameter< T, L > Struct Template Reference

A type to access function parameters. More...

#include <WasmDSL.hpp>

Inheritance diagram for m::wasm::Parameter< T, L >:
[legend]
Collaboration diagram for m::wasm::Parameter< T, L >:
[legend]

Public Types

using base_type = Variable< T, VariableKind::Param, false, L >
 
using dependent_expr_type = typename base_type::dependent_expr_type
 

Private Member Functions

 Parameter (unsigned index)
 Create a Parameter<T, L> for the existing parameter local of given index.
 

Friends

template<typename >
struct Function
 

Detailed Description

template<typename T, std::size_t L>
requires (L * sizeof(T) <= 16)
struct m::wasm::Parameter< T, L >

A type to access function parameters.

Function parameters are like local variables, but they need not be explicitly allocated on the stack but are implicitly allocated by the function's signature. Parameters are indexed in the order they occur in the function signature.

Definition at line 5801 of file WasmDSL.hpp.

Member Typedef Documentation

◆ base_type

template<typename T , std::size_t L>
using m::wasm::Parameter< T, L >::base_type = Variable<T, VariableKind::Param, false, L>

Definition at line 5806 of file WasmDSL.hpp.

◆ dependent_expr_type

template<typename T , std::size_t L>
using m::wasm::Parameter< T, L >::dependent_expr_type = typename base_type::dependent_expr_type

Definition at line 5808 of file WasmDSL.hpp.

Constructor & Destructor Documentation

◆ Parameter()

template<typename T , std::size_t L>
m::wasm::Parameter< T, L >::Parameter ( unsigned  index)
inlineprivate

Create a Parameter<T, L> for the existing parameter local of given index.

Parameters can only be created by Function::parameter<I>().

Definition at line 5814 of file WasmDSL.hpp.

Friends And Related Function Documentation

◆ Function

template<typename T , std::size_t L>
template<typename >
friend struct Function
friend

Definition at line 5804 of file WasmDSL.hpp.


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