[Boost-bugs] [Boost C++ Libraries] #3261: Can't export derived class with a data member of type std::string

Subject: [Boost-bugs] [Boost C++ Libraries] #3261: Can't export derived class with a data member of type std::string
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-07-13 05:52:11


#3261: Can't export derived class with a data member of type std::string
------------------------------+---------------------------------------------
 Reporter: mat087@… | Owner: dgregor
     Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: mpi
  Version: Boost 1.39.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 The attached file shows that calling BOOST_CLASS_EXPORT on a derived class
 that contains a data member of type std::string will fail at compilation.

 Adding


 {{{
 namespace boost
 {
    namespace mpi
    {
       template<> struct is_mpi_datatype<std::string> : public mpl::true_
 {};
    }
 }

 }}}

 will make it compile and run.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3261>
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-02-16 18:50:00 UTC