Re: [Boost-bugs] [Boost C++ Libraries] #5637: use of mpl::print imposes default constructible requirement on argument

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5637: use of mpl::print imposes default constructible requirement on argument
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-07-13 18:57:48


#5637: use of mpl::print imposes default constructible requirement on argument
-------------------------------+--------------------------------------------
  Reporter: ramey | Owner: dave
      Type: Tasks | Status: closed
 Milestone: To Be Determined | Component: mpl
   Version: Boost 1.46.1 | Severity: Problem
Resolution: invalid | Keywords: mpl print
-------------------------------+--------------------------------------------

Comment (by dave):

 Replying to [comment:2 ramey]:
> The other change:sizeof(T) > -1 <- sizeof(T) / 0 still stands however -
 at least from my version of GCC.

 As far as I know, division by zero is still a hard error. `mpl::print` is
 supposed to generate warnings. If you're satisfied with an error, I'm
 sure you can figure out how to do that without using `print`.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5637#comment:4>
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:07 UTC