nintendiator@feddit.cltoProgrammer Humor@lemmy.ml•Solutions? Where we're going, we don't need solutions.English
5·
8 months agoMaximum optimization!
Maximum optimization!
…isn’t the good idea here to not enhance visibility of disinformation?
C:
Problem
→ return Solution;
C++:
Problem
→
const [auto]&& (Problem&& problem) noexcept(noexcept( Solution<Problem>{}(std::forward<Problem>(problem)) )) { return Solution<Problem>{}(std::forward<Problem>(problem)); } -> decltype( Solution<Problem>{}(std::forward<Problem>(problem)) )
Actually I do; it’s the
{}
that initializes the lambda, and the parenthesis after invokes.That said, it would have been fun.