[Boost-bugs] [Boost C++ Libraries] #1183: Missing "template" in boost/interprocess/detail/managed_memory_impl.hpp

Subject: [Boost-bugs] [Boost C++ Libraries] #1183: Missing "template" in boost/interprocess/detail/managed_memory_impl.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-08-14 18:49:32


#1183: Missing "template" in boost/interprocess/detail/managed_memory_impl.hpp
-------------------------+--------------------------------------------------
 Reporter: jhs_at_[hidden] | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.34.1
 Severity: Problem | Keywords:
-------------------------+--------------------------------------------------
 The file boost/interprocess/detail/managed_memory_impl.hpp has several
 occurances of constucts like:

  template <class T>
    typename segment_manager::template construct_proxy<T>::type
       construct(char_ptr_holder_t name)
    { return mp_header->construct<T>(name); }

 These occur on lines 310, 352, and 502 of the file I have.

 mp_header is a dependent type, so this should really be written as:

   { return mp_header->template construct<T>(name); }

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1183>
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:49:56 UTC