ErrorMessage:
mutable_heap_test.cpp
.\boost/heap/detail/heap_node.hpp(145): error C2300: 'boost::heap::detail::parent_pointing_heap_node': class does not have a destructor called '~Node'
.\boost/heap/detail/heap_node.hpp(142): note: while compiling class template member function 'void boost::heap::detail::node_disposer<boost::heap::detail::heap_node<value_type,true>,boost::heap::detail::heap_node_base,Alloc>::operator ()(NodeBase )'
with
[
value_type=binomial_heap_data,
Alloc=std::allocator<boost::heap::detail::parent_pointing_heap_node>,
NodeBase=boost::heap::detail::heap_node_base
]
.\boost/intrusive/list.hpp(754): note: see reference to function template instantiation 'void boost::heap::detail::node_disposer<boost::heap::detail::heap_node<value_type,true>,boost::heap::detail::heap_node_base,Alloc>::operator ()(NodeBase )' being compiled
with
[
value_type=binomial_heap_data,
Alloc=std::allocator<boost::heap::detail::parent_pointing_heap_node>,
NodeBase=boost::heap::detail::heap_node_base
]
Issue description: Found Boost\libs\heap\test https://github.com/boostorg/boost/commit/a61709cb7383c88a6d9ff0acc3c7d674623e88ad build error C2300 in a future release of MSVC, version https://github.com/boostorg/heap/commit/4843f7af37ef06a0656be64e20206a3e8d1465d0 is passed. Could you please take a look?
Reproduce steps:
ErrorMessage: mutable_heap_test.cpp .\boost/heap/detail/heap_node.hpp(145): error C2300: 'boost::heap::detail::parent_pointing_heap_node': class does not have a destructor called '~Node'
.\boost/heap/detail/heap_node.hpp(142): note: while compiling class template member function 'void boost::heap::detail::node_disposer<boost::heap::detail::heap_node<value_type,true>,boost::heap::detail::heap_node_base,Alloc>::operator ()(NodeBase )'
with
[
value_type=binomial_heap_data,
Alloc=std::allocator<boost::heap::detail::parent_pointing_heap_node>,
NodeBase=boost::heap::detail::heap_node_base
]
.\boost/intrusive/list.hpp(754): note: see reference to function template instantiation 'void boost::heap::detail::node_disposer<boost::heap::detail::heap_node<value_type,true>,boost::heap::detail::heap_node_base,Alloc>::operator ()(NodeBase )' being compiled
with
[
value_type=binomial_heap_data,
Alloc=std::allocator<boost::heap::detail::parent_pointing_heap_node>,
NodeBase=boost::heap::detail::heap_node_base
]