Boost logo

Boost :

Subject: [boost] [container] 1.56.0 flat_map static assert typo ?
From: feverzsj (feverzsj_at_[hidden])
Date: 2014-08-09 03:53:08

hi, list
  in <boost/container/flat_map.hpp>, the ctors seems to contain a wrong
static assert:

      : m_flat_tree()
      //Allocator type must be std::pair<CONST Key, T>
      BOOST_STATIC_ASSERT((container_detail::is_same<std::pair&lt;Key, T>,
typename Allocator::value_type>::value));

   missing "const" ?


View this message in context:
Sent from the Boost - Dev mailing list archive at

Boost list run by bdawes at, gregod at, cpdaniel at, john at