title: boost mapped_file_sink throw exception
body: <p>I don't know why it throw exception when I create mapped_file_sink object. </p>
  
  <p>Exception: </p>
  
  <pre><code>terminate called after throwing an instance of 
  'boost::exception_detail::clone_impl&lt;boost::exception_detail::error_info_injector&lt;std::exception&gt; &gt;'
  </code></pre>
  
  
  
  <pre><code>int main(int argc,char *argv[])
  {
          boost::iostreams::mapped_file_sink sink(argv[1]);
          char temp[] ="AAAA";
          memcpy(sink.data(), temp, sizeof(temp));
          sink.close();
          return 1;
  }
  </code></pre>