Boost logo

Boost :

Subject: Re: [boost] [1.47.0] Merge request for quickbook+random
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-07-02 21:17:10

On 07/02/2011 06:08 PM, Daniel James wrote:
> Hello,
> Please can I merge this change:
> There's a constexpr method in that file which isn't just a return
> statement, which was causing random (and libraries which depend on it)
> to fail on gcc 4.6.0 in C++0x mode. So the change just disables use of
> constexpr. A proper fix is pretty simple so I'll do that for the next
> release if necessary.

Isn't it better to simply remove the temporary variable to make it a
valid constexpr?

Boost list run by bdawes at, gregod at, cpdaniel at, john at