Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
tcheyne
· 5y ago · 0 comments
A lightweight alternative I often use is to make a named constexpr at the callsite. `constexpr bool IS_GAIN = true; v = calc_formula(ia, ib, IS_GAIN);`
Comments
No comments yet.
Better HN