<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Emulating Boost.MultiIndex with Standard Containers</title>
	<link>https://codesynthesis.com/~boris/blog//2012/09/11/emulating-boost-multi-index-with-std-containers/</link>
	<description>Boris Kolpackov's blog about software</description>
	<pubDate>Sun, 05 Apr 2026 17:36:34 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>

	<item>
		<title>By: Maxim Yegorushkin</title>
		<link>https://codesynthesis.com/~boris/blog//2012/09/11/emulating-boost-multi-index-with-std-containers/#comment-2326</link>
		<author>Maxim Yegorushkin</author>
		<pubDate>Thu, 13 Sep 2012 11:40:55 +0000</pubDate>
		<guid>https://codesynthesis.com/~boris/blog//2012/09/11/emulating-boost-multi-index-with-std-containers/#comment-2326</guid>
		<description>&#62; ...  multi_index which has serious limitations on the mutability of elements

Not sure if const === serious. 

Boost multi_index tries to protect one from accidentally changing the key by returning references to const elements from find(). There is nothing wrong with casting away that const qualifier, it is like saying: "yeah, I know the key must not change, I promise not to do that and I know what I am doing".</description>
		<content:encoded><![CDATA[<p>&gt; &#8230;  multi_index which has serious limitations on the mutability of elements</p>
<p>Not sure if const === serious. </p>
<p>Boost multi_index tries to protect one from accidentally changing the key by returning references to const elements from find(). There is nothing wrong with casting away that const qualifier, it is like saying: &#8220;yeah, I know the key must not change, I promise not to do that and I know what I am doing&#8221;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
