title: How to use boost::optional to pass optional input parmemters
body: <p>How do I use a API that takes a list of boost::optional parameters? I have not found any documentation that talks about input parameters, </p>
  
  <p><a href="http://www.boost.org/doc/libs/1_57_0/libs/optional/doc/html/index.html" rel="noreferrer">This</a> and <a href="http://www.boost.org/doc/libs/1_43_0/libs/optional/doc/html/index.html" rel="noreferrer">this</a> does not talk about how to handle input parameters. Please let me know what I am missing.</p>
  
  <p>here it is</p>
  
  <pre><code>void myMethod(const boost::optional&lt; std::string &gt;&amp; name,
  const boost::optional&lt; std::string &gt;&amp; address,
  const boost::optional&lt; boost::string &gt;&amp; description,
  const boost::optional&lt; bool &gt;&amp; isCurrent,
  const boost::optional&lt; std::string &gt;&amp; ProductName,
  const boost::optional&lt; std::string &gt;&amp; Vendor)
  </code></pre>
  
  <p>Given that, how should I call it? <code>myMethod(,,,,x,y)</code> did not work</p>