.. or even: namespace n { struct make_shared { }; }
int main() { int x1; [e = n::make_shared (), x1]() {}; }I.e., I don't think the fact that std::make_shared is a template plays a specific role here.
Paolo.
.. or even: namespace n { struct make_shared { }; }
int main() { int x1; [e = n::make_shared (), x1]() {}; }I.e., I don't think the fact that std::make_shared is a template plays a specific role here.
Paolo.