Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2747: inline warning
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-11-20 12:11:48
#2747: inline warning
------------------------------------------------------+---------------------
Reporter: Yang Zhang <yang.boostbugs@â¦> | Owner: anthonyw
Type: Bugs | Status: new
Milestone: Boost 1.39.0 | Component: thread
Version: Boost Development Trunk | Severity: Problem
Keywords: |
------------------------------------------------------+---------------------
Comment(by viboes):
In order to respect C++ conformance the inline declaration should be at
the declaration, so we should have the following declarations in
boost/thread/pthread/condition_variable_fwd.hpp
{{{
inline void wait(unique_lock<mutex>& m);
inline bool timed_wait(unique_lock<mutex>& m,boost::system_time const&
wait_until);
inline void notify_one();
inline void notify_all();
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2747#comment:3> 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:01 UTC