title: c++ boost ifstream read file content with white spaces, line breaks, tabs etc
body: <p>I have next code:</p>
  
  <pre><code>#include "boost/filesystem.hpp"
  #include "boost/filesystem/fstream.hpp"
  #include &lt;iostream&gt;
  namespace fs = boost::filesystem;
  ...
  fs::path p{ "mysuperfile.txt" };
  fs::ifstream ifs{ p };
  std::string data;
  ifs &gt;&gt; data;
  ifs.close();
  ...
  </code></pre>
  
  <p>And the problem is, that it reads content of file until first white space, which is only one first word. Nothing more. So the question is how is possible to read content of the file with white spaces, line breaks, tabs and all other possible characters with boost::filesystem:ifstream? thanks.</p>