<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for template  class Shandyba: public T { };</title>
	<atom:link href="http://blog.shandyba.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.shandyba.com</link>
	<description></description>
	<lastBuildDate>Wed, 28 Sep 2011 20:53:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>Comment on Converting Variadic Template Arguments Pack to Boost Mpl Sequence by Lluís</title>
		<link>http://blog.shandyba.com/2009/12/17/converting-variadic-template-arguments-pack-to-boost-mpl-sequence/comment-page-1/#comment-5295</link>
		<dc:creator>Lluís</dc:creator>
		<pubDate>Wed, 28 Sep 2011 20:53:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shandyba.com/?p=15#comment-5295</guid>
		<description>This one should work for any structure accepting only a fixed number of template arguments (like boost::vector):


        /** Use variadic templates in fixed-size templated classes.
         *
         * Works around a compiler bug (was a language requirement on a previous
         * draft of the standard).
         */
        template&lt;template  class T, class... Args&gt;
        struct from_variadic
        {
            typedef T type;
        };

To use, simply do:

        typedef typename from_variadic::type arg_types;
        boost::mpl::for_each(functor);

Taken from here (with a minor compilation error corrected): http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35722#c12</description>
		<content:encoded><![CDATA[<p>This one should work for any structure accepting only a fixed number of template arguments (like boost::vector):</p>
<p>        /** Use variadic templates in fixed-size templated classes.<br />
         *<br />
         * Works around a compiler bug (was a language requirement on a previous<br />
         * draft of the standard).<br />
         */<br />
        template&lt;template  class T, class&#8230; Args&gt;<br />
        struct from_variadic<br />
        {<br />
            typedef T type;<br />
        };</p>
<p>To use, simply do:</p>
<p>        typedef typename from_variadic::type arg_types;<br />
        boost::mpl::for_each(functor);</p>
<p>Taken from here (with a minor compilation error corrected): <a href="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35722#c12" rel="nofollow">http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35722#c12</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Converting Variadic Template Arguments Pack to Boost Mpl Sequence by matt</title>
		<link>http://blog.shandyba.com/2009/12/17/converting-variadic-template-arguments-pack-to-boost-mpl-sequence/comment-page-1/#comment-4382</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Sun, 03 Jul 2011 13:50:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shandyba.com/?p=15#comment-4382</guid>
		<description>I was going to write something similar. Thx it&#039;s very useful.</description>
		<content:encoded><![CDATA[<p>I was going to write something similar. Thx it&#8217;s very useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Calling function via void* pointer with arguments contained in std::container by niXman</title>
		<link>http://blog.shandyba.com/2010/04/22/calling-function-via-void-pointer-with-arguments-as-stdcontainer/comment-page-1/#comment-4068</link>
		<dc:creator>niXman</dc:creator>
		<pubDate>Thu, 02 Jun 2011 08:07:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shandyba.com/?p=89#comment-4068</guid>
		<description>Oh? sorry. Delete this post. I wrote it in Russian :D</description>
		<content:encoded><![CDATA[<p>Oh? sorry. Delete this post. I wrote it in Russian <img src='http://blog.shandyba.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Calling function via void* pointer with arguments contained in std::container by Dmitry Shandyba</title>
		<link>http://blog.shandyba.com/2010/04/22/calling-function-via-void-pointer-with-arguments-as-stdcontainer/comment-page-1/#comment-2703</link>
		<dc:creator>Dmitry Shandyba</dc:creator>
		<pubDate>Fri, 25 Feb 2011 09:52:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shandyba.com/?p=89#comment-2703</guid>
		<description>Heh, that requires boost::fusion, while the original approach is in naked C++0x, showing the mechanics of the process! :)
Also, this approach doesn&#039;t work for functions casted to void* pointers, so the following snippet doesn&#039;t even compile:

&lt;code&gt;
void *pFun = reinterpret_cast&lt;void*&gt;(&amp;f1);
boost::fusion::invoke(pFun, boost::fusion::make_vector());
&lt;/code&gt;

PS Anyway, surely the task should have many possible solutions, including elegant and simple ones, like the one you provided, even if they don&#039;t match the task precisely :) So thanks for that!</description>
		<content:encoded><![CDATA[<p>Heh, that requires boost::fusion, while the original approach is in naked C++0x, showing the mechanics of the process! <img src='http://blog.shandyba.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Also, this approach doesn&#8217;t work for functions casted to void* pointers, so the following snippet doesn&#8217;t even compile:</p>
<p><code><br />
void *pFun = reinterpret_cast<void *>(&#038;f1);<br />
boost::fusion::invoke(pFun, boost::fusion::make_vector());<br />
</void></code></p>
<p>PS Anyway, surely the task should have many possible solutions, including elegant and simple ones, like the one you provided, even if they don&#8217;t match the task precisely <img src='http://blog.shandyba.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  So thanks for that!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Calling function via void* pointer with arguments contained in std::container by niXman</title>
		<link>http://blog.shandyba.com/2010/04/22/calling-function-via-void-pointer-with-arguments-as-stdcontainer/comment-page-1/#comment-2696</link>
		<dc:creator>niXman</dc:creator>
		<pubDate>Fri, 25 Feb 2011 06:36:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shandyba.com/?p=89#comment-2696</guid>
		<description>All is much easier ;)


#include 
#include 
#include 
#include 

void f1() {
   std::cout &lt;&lt; &quot;f1()&quot; &lt;&lt; std::endl;
}

int f2() {
   std::cout &lt;&lt; &quot;f2()&quot; &lt;&lt; std::endl;
   return 3;
}

int f3(int v) {
   std::cout &lt;&lt; &quot;f3()&quot; &lt;&lt; std::endl;
   return f2()+v;
}

int main() {
   /** without args */
   boost::fusion::invoke(&amp;f1, boost::fusion::make_vector());

   /** without args */
   boost::fusion::invoke(&amp;f2, boost::fusion::make_vector());

   /** with args */
   int r = boost::fusion::invoke(&amp;f3, boost::fusion::make_vector(3));
   std::cout &lt;&lt; r &lt;&lt; std::endl;
}


http://liveworkspace.org/code/da4fb745ee9f2509eb5af862408e7648</description>
		<content:encoded><![CDATA[<p>All is much easier <img src='http://blog.shandyba.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>#include<br />
#include<br />
#include<br />
#include </p>
<p>void f1() {<br />
   std::cout &lt;&lt; &quot;f1()&quot; &lt;&lt; std::endl;<br />
}</p>
<p>int f2() {<br />
   std::cout &lt;&lt; &quot;f2()&quot; &lt;&lt; std::endl;<br />
   return 3;<br />
}</p>
<p>int f3(int v) {<br />
   std::cout &lt;&lt; &quot;f3()&quot; &lt;&lt; std::endl;<br />
   return f2()+v;<br />
}</p>
<p>int main() {<br />
   /** without args */<br />
   boost::fusion::invoke(&amp;f1, boost::fusion::make_vector());</p>
<p>   /** without args */<br />
   boost::fusion::invoke(&amp;f2, boost::fusion::make_vector());</p>
<p>   /** with args */<br />
   int r = boost::fusion::invoke(&amp;f3, boost::fusion::make_vector(3));<br />
   std::cout &lt;&lt; r &lt;&lt; std::endl;<br />
}</p>
<p><a href="http://liveworkspace.org/code/da4fb745ee9f2509eb5af862408e7648" rel="nofollow">http://liveworkspace.org/code/da4fb745ee9f2509eb5af862408e7648</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Converting Variadic Template Arguments Pack to Boost Mpl Sequence by Bx12</title>
		<link>http://blog.shandyba.com/2009/12/17/converting-variadic-template-arguments-pack-to-boost-mpl-sequence/comment-page-1/#comment-59</link>
		<dc:creator>Bx12</dc:creator>
		<pubDate>Fri, 02 Apr 2010 05:47:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shandyba.com/?p=15#comment-59</guid>
		<description>Congratulations on this post. I followed up on it on my website.</description>
		<content:encoded><![CDATA[<p>Congratulations on this post. I followed up on it on my website.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SSL certificates as easy as 1,2,.. 3! by Dmitry Shandyba</title>
		<link>http://blog.shandyba.com/2009/12/28/ssl-certificates-as-easy-as-12-3/comment-page-1/#comment-57</link>
		<dc:creator>Dmitry Shandyba</dc:creator>
		<pubDate>Tue, 30 Mar 2010 13:57:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shandyba.com/?p=50#comment-57</guid>
		<description>You&#039;re welcome.
Is it working for you now?</description>
		<content:encoded><![CDATA[<p>You&#8217;re welcome.<br />
Is it working for you now?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SSL certificates as easy as 1,2,.. 3! by Mato</title>
		<link>http://blog.shandyba.com/2009/12/28/ssl-certificates-as-easy-as-12-3/comment-page-1/#comment-56</link>
		<dc:creator>Mato</dc:creator>
		<pubDate>Mon, 29 Mar 2010 21:02:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shandyba.com/?p=50#comment-56</guid>
		<description>Thank you very very much :)</description>
		<content:encoded><![CDATA[<p>Thank you very very much <img src='http://blog.shandyba.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SSL certificates as easy as 1,2,.. 3! by Dmitry Shandyba</title>
		<link>http://blog.shandyba.com/2009/12/28/ssl-certificates-as-easy-as-12-3/comment-page-1/#comment-52</link>
		<dc:creator>Dmitry Shandyba</dc:creator>
		<pubDate>Sat, 27 Mar 2010 01:22:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shandyba.com/?p=50#comment-52</guid>
		<description>Hi Mato,

you are welcome to look at this link: http://blog.shandyba.com/2010/03/27/rcf-1-2-openssl/.

This example 100% works and, well, I don&#039;t experience any freezings... So give it a try!

Good luck! :)</description>
		<content:encoded><![CDATA[<p>Hi Mato,</p>
<p>you are welcome to look at this link: <a href="http://blog.shandyba.com/2010/03/27/rcf-1-2-openssl/" rel="nofollow">http://blog.shandyba.com/2010/03/27/rcf-1-2-openssl/</a>.</p>
<p>This example 100% works and, well, I don&#8217;t experience any freezings&#8230; So give it a try!</p>
<p>Good luck! <img src='http://blog.shandyba.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SSL certificates as easy as 1,2,.. 3! by Mato</title>
		<link>http://blog.shandyba.com/2009/12/28/ssl-certificates-as-easy-as-12-3/comment-page-1/#comment-43</link>
		<dc:creator>Mato</dc:creator>
		<pubDate>Tue, 16 Mar 2010 17:02:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shandyba.com/?p=50#comment-43</guid>
		<description>Hello,
can you please post few lines of code, where you are setting RcfServer and RcfClient with OpenSSL? My program always frozes, when I call requestTransportFilters method. Thank you for help.</description>
		<content:encoded><![CDATA[<p>Hello,<br />
can you please post few lines of code, where you are setting RcfServer and RcfClient with OpenSSL? My program always frozes, when I call requestTransportFilters method. Thank you for help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SSL certificates as easy as 1,2,.. 3! by Dmitry Shandyba</title>
		<link>http://blog.shandyba.com/2009/12/28/ssl-certificates-as-easy-as-12-3/comment-page-1/#comment-25</link>
		<dc:creator>Dmitry Shandyba</dc:creator>
		<pubDate>Tue, 16 Feb 2010 22:31:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shandyba.com/?p=50#comment-25</guid>
		<description>Hey, Mr. M., I don&#039;t feel it like tautology :-D
Yes, it sounds not that smoothly, but how am I supposed to call &quot;server&quot; if not &quot;server&quot; and &quot;server-side&quot; if not &quot;server-side&quot; ? :-)))</description>
		<content:encoded><![CDATA[<p>Hey, Mr. M., I don&#8217;t feel it like tautology <img src='http://blog.shandyba.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /><br />
Yes, it sounds not that smoothly, but how am I supposed to call &#8220;server&#8221; if not &#8220;server&#8221; and &#8220;server-side&#8221; if not &#8220;server-side&#8221; ? <img src='http://blog.shandyba.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> ))</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SSL certificates as easy as 1,2,.. 3! by Grammar Nazi</title>
		<link>http://blog.shandyba.com/2009/12/28/ssl-certificates-as-easy-as-12-3/comment-page-1/#comment-24</link>
		<dc:creator>Grammar Nazi</dc:creator>
		<pubDate>Tue, 16 Feb 2010 21:59:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shandyba.com/?p=50#comment-24</guid>
		<description>&lt; ...server use server.crt to use for server-side...

WUT? Have you been taught about tautology at school? ;) Though, despite this, very interesting article. Keep it up!</description>
		<content:encoded><![CDATA[<p>&lt; &#8230;server use server.crt to use for server-side&#8230;</p>
<p>WUT? Have you been taught about tautology at school? <img src='http://blog.shandyba.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Though, despite this, very interesting article. Keep it up!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on C++ Delayed Constructor by Dmitry Shandyba</title>
		<link>http://blog.shandyba.com/2009/12/15/c-delayed-constructor/comment-page-1/#comment-5</link>
		<dc:creator>Dmitry Shandyba</dc:creator>
		<pubDate>Sat, 19 Dec 2009 23:13:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shandyba.com/?p=1#comment-5</guid>
		<description>The topic is continued here: http://blog.shandyba.com/2009/12/19/c-delayed-constructor-2-multi-level-approach/</description>
		<content:encoded><![CDATA[<p>The topic is continued here: <a href="http://blog.shandyba.com/2009/12/19/c-delayed-constructor-2-multi-level-approach/" rel="nofollow">http://blog.shandyba.com/2009/12/19/c-delayed-constructor-2-multi-level-approach/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

