#3989 closed Bugs (fixed)
Syntax error -- missing "template" keyword
Reported by: | anonymous | Owned by: | Sebastian Redl |
---|---|---|---|
Milestone: | Boost 1.44.0 | Component: | multi_array |
Version: | Boost 1.42.0 | Severity: | Problem |
Keywords: | Cc: |
Description
Index: detail/ptree_implementation.hpp =================================================================== --- detail/ptree_implementation.hpp (revision 60372) +++ detail/ptree_implementation.hpp (working copy) @@ -770,7 +770,7 @@
Translator tr) const
{
if (optional<const self_type&> child = get_child_optional(path))
- return child.get().get_value_optional<Type>(tr);
+ return child.get().template get_value_optional<Type>(tr);
else
return optional<Type>();
}
Change History (6)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
"libs/multi_array/example/for_each.hpp" is also missing a necessary keyword on this line:
for_each(boost::type<TYPENAME Array::element>(),A.begin(),A.end(),xform);
comment:3 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [61610]) Add a missing template keyword. Fixes bug 3989.
comment:4 by , 12 years ago
Component: | property_tree → multi_array |
---|---|
Milestone: | Boost 1.43.0 → Boost 1.44.0 |
Resolution: | fixed |
Severity: | Showstopper → Problem |
Status: | closed → reopened |
Reassigning to multi_array for the issue in the comment.
comment:5 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Whoops, here's the patch in a more readable format.