prog.cpp: In function 'void DoSmth(T) [with T = int]':
prog.cpp:16:18: instantiated from here
prog.cpp:11:113: error: no match for ternary 'operator?:' in '(foo.Foo::Something() > 0) ? DoSmth(T) [with T = int]::<lambda(Foo)>() : DoSmth(T) [with T = int]::<lambda(Foo)>()'
prog.cpp:11:113: error: unable to deduce 'auto' from '<expression error>'