Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
joe_loser
· 9y ago · 0 comments
Yeah, plus the if branches are runtime-checks instead of the if-constexpr approach
Comments
[–]
gpderetta
9y ago
There is about the same amount of runtime checks. In the auto-lambda+constexpr case the switch/if-cascade is inside visit and it is required to dispatch the correct type to the visitor.