Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3859: [Boost.utility]
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-01-25 21:46:29
#3859: [Boost.utility]
---------------------------------+------------------------------------------
Reporter: achinkoff@⦠| Owner: no-maintainer
Type: Feature Requests | Status: new
Milestone: Boost 1.42.0 | Component: utility
Version: Boost 1.41.0 | Severity: Optimization
Keywords: |
---------------------------------+------------------------------------------
Comment(by anonymous):
That is what I mean:
{{{
@@ -39,7 +39,7 @@
SingletonDestroyer()
{
typedef typename boost::is_array<Doomed>::type
DoomedArrayType;
- bool assert_me = (DoomedArrayType::value == false);
+ const bool assert_me = (DoomedArrayType::value == false);
CTAssert<assert_me>
____DOOMED_SINGLETON_MUST_NOT_BE_ARRAY____;
/**
Suppress unused variable warning
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3859#comment:2> 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:02 UTC