Brick Library 0.1
Performance-portable stencil datalayout & codegen
Loading...
Searching...
No Matches
Static Public Attributes | List of all members
cal_size< x, xs... > Struct Template Reference

Head of the list multiply by result from the rest of list Calculate the product of n numbers in a template. More...

#include <brick.h>

Static Public Attributes

static constexpr unsigned value = x * cal_size<xs ...>::value
 

Detailed Description

template<unsigned x, unsigned ... xs>
struct cal_size< x, xs... >

Head of the list multiply by result from the rest of list Calculate the product of n numbers in a template.

Template Parameters
xCAR
xsCDR

Member Data Documentation

◆ value

template<unsigned x, unsigned ... xs>
constexpr unsigned cal_size< x, xs... >::value = x * cal_size<xs ...>::value
staticconstexpr

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