Opened 15 years ago

Closed 15 years ago

#1183 closed Bugs (fixed)

Missing "template" in boost/interprocess/detail/managed_memory_impl.hpp

Reported by: jhs@… Owned by: Ion Gaztañaga
Milestone: To Be Determined Component: None
Version: Boost 1.34.1 Severity: Problem
Keywords: Cc:

Description

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); }

Change History (2)

comment:1 by Ion Gaztañaga, 15 years ago

Owner: set to Ion Gaztañaga

comment:2 by Ion Gaztañaga, 15 years ago

Resolution: fixed
Status: newclosed

Already solved in revision 38669

Note: See TracTickets for help on using tickets.