Low Latency Trading Insights

Low Latency Trading Insights

Share this post

Low Latency Trading Insights
Low Latency Trading Insights
Compile-time Arbitrary Switch Case

Compile-time Arbitrary Switch Case

Making template metaprogramming write code for us

Henrique Bucher's avatar
Henrique Bucher
Feb 24, 2023
∙ Paid
Share

Motivation

Suppose I have a table of functions, all of them returning a double but with an arbitrary number of doubles as arguments. For example:

And I have a table that summarizes and provides some me…

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2025 Henrique Bucher
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share