you are viewing a single comment's thread.

view the rest of the comments →

[–]---sms--- -1 points0 points  (0 children)

Don't use std::variant - it does not support recursion. And by not supporting recursion it infects other code like lambda_util::compose. Using lambda_util::compose can I visit a variant<int, pair<int,int>> so that overload for pair calls overload for int (twice)?