title: What is the C++ equivalent of a java.util.function.Supplier?
body: <p>For example, I have the following Java code:</p>
  
  <pre><code>public class Main {
    public static void main(String[] args) {
      System.out.println(maker(Employee::new));
    }
  
    private static Employee maker(Supplier&lt;Employee&gt; fx) {
      return fx.get();
    }
  }
  
  class Employee {
    @Override
    public String toString() {
      return "A EMPLOYEE";
    }
  }
  </code></pre>
  
  <p>What will be the C++ equivalent?</p>