<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mike Daum &#187; c++</title>
	<atom:link href="http://blog.mikedaum.com/category/c/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mikedaum.com</link>
	<description></description>
	<lastBuildDate>Tue, 27 Jan 2009 20:20:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Stupid compiler error messages</title>
		<link>http://blog.mikedaum.com/2009/01/27/stupid-compiler-error-messages/</link>
		<comments>http://blog.mikedaum.com/2009/01/27/stupid-compiler-error-messages/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 20:20:23 +0000</pubDate>
		<dc:creator>mikedaum</dc:creator>
				<category><![CDATA[c++]]></category>

		<guid isPermaLink="false">http://blog.mikedaum.com/2009/01/27/stupid-compiler-error-messages/</guid>
		<description><![CDATA[Just got this delightful error message:
gslwrap/HMCMC.cpp:57: error: conversion from &#8216;boost::cb_details::iterator&#60;boost::circular_buffer&#60;bool, std::allocator&#60;bool&#62; &#62;, boost::cb_details::const_traits&#60;std::allocator&#60;bool&#62; &#62; &#62;&#8217; to non-scalar type &#8216;boost::cb_details::iterator&#60;boost::circular_buffer&#60;bool, std::allocator&#60;bool&#62; &#62;, boost::cb_details::nonconst_traits&#60;std::allocator&#60;bool&#62; &#62; &#62;&#8217; requested
I get it and its ilk fairly regularly.  Takes me a bit to actually sort it out.  Don&#8217;t know why.  What it&#8217;s trying to say is that I used a non-const [...]]]></description>
		<wfw:commentRss>http://blog.mikedaum.com/2009/01/27/stupid-compiler-error-messages/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fussy C++</title>
		<link>http://blog.mikedaum.com/2008/06/11/fussy-c/</link>
		<comments>http://blog.mikedaum.com/2008/06/11/fussy-c/#comments</comments>
		<pubDate>Wed, 11 Jun 2008 14:52:04 +0000</pubDate>
		<dc:creator>mikedaum</dc:creator>
				<category><![CDATA[c++]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://blog.mikedaum.com/2008/06/11/fussy-c/</guid>
		<description><![CDATA[So last night I&#8217;m all
GslMatrix D;
 GslMatrix B;
 C.symmetricEigs(B, D.diag() );

 
But the compiler is all


 error: no matching function for call to 'GslMatrix::symmetricEigs(GslMatrix&#38;, GslVector)

 
See the problem?  D.diag() is passed in as a temporary, and the symmetricEigs has it passed in as a reference. Rather than behave rationally, the compiler refuses to consider [...]]]></description>
		<wfw:commentRss>http://blog.mikedaum.com/2008/06/11/fussy-c/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
