Re: [Boost-bugs] [Boost C++ Libraries] #6638: convert_aux fails while intializing global variable

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6638: convert_aux fails while intializing global variable
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-04-24 16:54:46


#6638: convert_aux fails while intializing global variable
-------------------------+-------------------------------------------------
  Reporter: john doe | Owner: bemandawes
  <johndoe> | Status: assigned
      Type: Bugs | Component: filesystem
 Milestone: To Be | Severity: Problem
  Determined | Keywords: filesystem path convert wide/narrow
   Version: Boost | string
  1.59.0 |
Resolution: |
-------------------------+-------------------------------------------------

Comment (by anonymous):

 This version does not crash (but it does if I removed the constructor
 code):

 {{{
 class Alma
 {
 public:
         Alma() { boost::filesystem::exists("C:\\alma.txt"); }
         ~Alma() { std::cout <<
 boost::filesystem::path("c:\\alma.txt").string() << std::endl; }
 };

 Alma a;

 int main(int argc, char* argv[])
 {
         Alma();
         return 0;
 }
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6638#comment:10>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-04-24 17:00:18 UTC