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:

   flat_map()
      : 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" ?

regards.

--
View this message in context: http://boost.2283326.n4.nabble.com/boost-container-1-56-0-flat-map-static-assert-typo-tp4666199.html
Sent from the Boost - Dev mailing list archive at Nabble.com.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk