<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>pandaxcl的专栏--我的网站开站啦：http://www.autodev.net - STL</title><link>http://blog.csdn.net/pandaxcl/category/188280.aspx</link><description>主要写了一些和STL应用相关的文章</description><dc:language>zh-CN</dc:language><lastUpdateTime>Tue, 05 Feb 2008 12:51:10 GMT</lastUpdateTime><ttl>60</ttl><item><dc:creator>pandaxcl</dc:creator><title>配合STL算法编写类的成员函数</title><link>http://blog.csdn.net/pandaxcl/archive/2008/02/05/2084287.aspx</link><pubDate>Tue, 05 Feb 2008 12:51:00 GMT</pubDate><guid>http://blog.csdn.net/pandaxcl/archive/2008/02/05/2084287.aspx</guid><wfw:comment>http://blog.csdn.net/pandaxcl/comments/2084287.aspx</wfw:comment><comments>http://blog.csdn.net/pandaxcl/archive/2008/02/05/2084287.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/pandaxcl/comments/commentRss/2084287.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2084287</trackback:ping><description>我们在使用C++的开发工作中，经常会编写许许多多的类，当然也会编写大量的成员函数。但是对于如何设计类的结构，如何确定类的成员，这将会是一个艰难的抉择过程。在编写C++类的过程中，我们都希望是我们的成员函数集合最小化，但是常常很难做到这一点。本文就来详细的讨论一下这个问题！&lt;img src ="http://blog.csdn.net/pandaxcl/aggbug/2084287.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>pandaxcl</dc:creator><title>C++中使用STL轻松实现序列化</title><link>http://blog.csdn.net/pandaxcl/archive/2006/04/03/649682.aspx</link><pubDate>Mon, 03 Apr 2006 21:59:00 GMT</pubDate><guid>http://blog.csdn.net/pandaxcl/archive/2006/04/03/649682.aspx</guid><wfw:comment>http://blog.csdn.net/pandaxcl/comments/649682.aspx</wfw:comment><comments>http://blog.csdn.net/pandaxcl/archive/2006/04/03/649682.aspx#Feedback</comments><slash:comments>7</slash:comments><wfw:commentRss>http://blog.csdn.net/pandaxcl/comments/commentRss/649682.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=649682</trackback:ping><description>在用C++编写应用程序的过程中，经常涉及到序列化的问题，但是序列化的问题通常都
会有非常繁琐的过程代码需要书写，本文中就是通过使用STL经过简单的步骤实现了程序的序列化问题
，简单直接，和其它的序列化方案有着很大的不同。&lt;img src ="http://blog.csdn.net/pandaxcl/aggbug/649682.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>pandaxcl</dc:creator><title>自定义STL插入器实现分流器</title><link>http://blog.csdn.net/pandaxcl/archive/2006/04/02/647769.aspx</link><pubDate>Sun, 02 Apr 2006 11:31:00 GMT</pubDate><guid>http://blog.csdn.net/pandaxcl/archive/2006/04/02/647769.aspx</guid><wfw:comment>http://blog.csdn.net/pandaxcl/comments/647769.aspx</wfw:comment><comments>http://blog.csdn.net/pandaxcl/archive/2006/04/02/647769.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/pandaxcl/comments/commentRss/647769.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=647769</trackback:ping><description>在前面曾经实现了自定义STL兼容插入器的方法实现了过滤器，过滤器的方法看不出实现这个过滤器有何优点，例如过滤器可以由STL的partition算法同样实现。但是这里的分流器则是其它的单独的STL算法所不能够表达的。实际上这里的分流器可以这样来看，前面的过滤器仅仅只是一个源一个过滤流，而分流器则是一个源多个过滤流，如果采用STL的两个源的算法则可以实现两个源多个过滤流的分流器！为了简单起见本文中仅仅实现一个源两个过滤流的情况，其它情况可以类似实现！:)&lt;img src ="http://blog.csdn.net/pandaxcl/aggbug/647769.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>pandaxcl</dc:creator><title>自定义STL插入器实现过滤器</title><link>http://blog.csdn.net/pandaxcl/archive/2006/04/02/647674.aspx</link><pubDate>Sun, 02 Apr 2006 09:39:00 GMT</pubDate><guid>http://blog.csdn.net/pandaxcl/archive/2006/04/02/647674.aspx</guid><wfw:comment>http://blog.csdn.net/pandaxcl/comments/647674.aspx</wfw:comment><comments>http://blog.csdn.net/pandaxcl/archive/2006/04/02/647674.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/pandaxcl/comments/commentRss/647674.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=647674</trackback:ping><description>在STL中，有这样的三个模板起着向容器中动态添加元素的的功能，这三个模板类是：back_insert_iterator、front_insert_iterator和insert_iterator，为了方便使用，STL还定义了三个相应的辅助函数：back_inserter、front_inserter和inserter，在本文中讨论了怎样自定义一个类似的插入器，在向容器中插入元素的时候使用仿函数来进行条件判断，这样就可以很容易的实现一个STL兼容的插入器，从而也就实现了过滤的功能，我称其为过滤器。&lt;img src ="http://blog.csdn.net/pandaxcl/aggbug/647674.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>pandaxcl</dc:creator><title>自定义STL游标实现虚拟容器(5)</title><link>http://blog.csdn.net/pandaxcl/archive/2006/04/01/647396.aspx</link><pubDate>Sat, 01 Apr 2006 22:11:00 GMT</pubDate><guid>http://blog.csdn.net/pandaxcl/archive/2006/04/01/647396.aspx</guid><wfw:comment>http://blog.csdn.net/pandaxcl/comments/647396.aspx</wfw:comment><comments>http://blog.csdn.net/pandaxcl/archive/2006/04/01/647396.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/pandaxcl/comments/commentRss/647396.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=647396</trackback:ping><description>将虚拟容器类dummy设置成为单独的头文件使用，这个头文件是“dummy.h”，本文中的代码就是这个头文件的实现，如果需要直接使用的话，可以直接将本文中的代码复制到文本文件中，给该文本文件取名为“dummy.h”即可。&lt;img src ="http://blog.csdn.net/pandaxcl/aggbug/647396.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>pandaxcl</dc:creator><title>自定义STL游标实现虚拟容器(4)</title><link>http://blog.csdn.net/pandaxcl/archive/2006/04/01/647350.aspx</link><pubDate>Sat, 01 Apr 2006 21:36:00 GMT</pubDate><guid>http://blog.csdn.net/pandaxcl/archive/2006/04/01/647350.aspx</guid><wfw:comment>http://blog.csdn.net/pandaxcl/comments/647350.aspx</wfw:comment><comments>http://blog.csdn.net/pandaxcl/archive/2006/04/01/647350.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/pandaxcl/comments/commentRss/647350.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=647350</trackback:ping><description>到了这里才使得虚拟容器成为形式上最接近STL容器的容器类型，该文件是一个测试文件，如果需要将dummy容器类作为一个模块类使用，则只需要将该文件的测试部分注释掉，并且添加头文件必须的宏处理“#pragma once”即可！为了同一起见，这个头文件，我命名为："dummy.h"，表示虚拟容器的意思。这一点是为了和前面的虚拟游标容器相区别！&lt;img src ="http://blog.csdn.net/pandaxcl/aggbug/647350.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>pandaxcl</dc:creator><title>使用虚拟容器的方法实现梯形公式的逐次分半法求积分（1）</title><link>http://blog.csdn.net/pandaxcl/archive/2006/03/31/646344.aspx</link><pubDate>Fri, 31 Mar 2006 21:15:00 GMT</pubDate><guid>http://blog.csdn.net/pandaxcl/archive/2006/03/31/646344.aspx</guid><wfw:comment>http://blog.csdn.net/pandaxcl/comments/646344.aspx</wfw:comment><comments>http://blog.csdn.net/pandaxcl/archive/2006/03/31/646344.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/pandaxcl/comments/commentRss/646344.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=646344</trackback:ping><description>采用虚拟容器的方法实现了数值积分中的梯形公式的逐次分半法求积分的尝试。实现了方法和被积函数的分离。&lt;img src ="http://blog.csdn.net/pandaxcl/aggbug/646344.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>pandaxcl</dc:creator><title>自定义STL游标实现虚拟容器(3)</title><link>http://blog.csdn.net/pandaxcl/archive/2006/03/31/646188.aspx</link><pubDate>Fri, 31 Mar 2006 18:14:00 GMT</pubDate><guid>http://blog.csdn.net/pandaxcl/archive/2006/03/31/646188.aspx</guid><wfw:comment>http://blog.csdn.net/pandaxcl/comments/646188.aspx</wfw:comment><comments>http://blog.csdn.net/pandaxcl/archive/2006/03/31/646188.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/pandaxcl/comments/commentRss/646188.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=646188</trackback:ping><description>虚拟容器类的最后实现，保存在头文件里面。这个头文件在将来的数值计算方法中会比较频繁的使用到，可以作为一个独立的头文件保存，在以后的使用中这个头文件名称为：“virtual_iterator.h”&lt;img src ="http://blog.csdn.net/pandaxcl/aggbug/646188.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>pandaxcl</dc:creator><title>自定义STL游标实现虚拟容器(2)</title><link>http://blog.csdn.net/pandaxcl/archive/2006/03/30/644829.aspx</link><pubDate>Thu, 30 Mar 2006 18:40:00 GMT</pubDate><guid>http://blog.csdn.net/pandaxcl/archive/2006/03/30/644829.aspx</guid><wfw:comment>http://blog.csdn.net/pandaxcl/comments/644829.aspx</wfw:comment><comments>http://blog.csdn.net/pandaxcl/archive/2006/03/30/644829.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/pandaxcl/comments/commentRss/644829.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=644829</trackback:ping><description>实现了简单的泛型虚拟容器，在上一部分中仅仅只是涉及到了整型虚拟容器，在这里通过对前面的整型虚拟容器的模板范型化得到了有一定通用性能的虚拟容器类。&lt;img src ="http://blog.csdn.net/pandaxcl/aggbug/644829.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>pandaxcl</dc:creator><title>自定义STL游标实现二分法求解方程的根</title><link>http://blog.csdn.net/pandaxcl/archive/2006/03/29/643500.aspx</link><pubDate>Wed, 29 Mar 2006 19:13:00 GMT</pubDate><guid>http://blog.csdn.net/pandaxcl/archive/2006/03/29/643500.aspx</guid><wfw:comment>http://blog.csdn.net/pandaxcl/comments/643500.aspx</wfw:comment><comments>http://blog.csdn.net/pandaxcl/archive/2006/03/29/643500.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/pandaxcl/comments/commentRss/643500.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=643500</trackback:ping><description>使用自定义STL游标的方法实现二分法解方程的实根，本文假设你已经熟悉自定义STL兼容游标的方法，如果不熟悉自定义STL兼容游标的方法可以参见本人的“自定义STL游标实现虚拟容器”的文章。&lt;img src ="http://blog.csdn.net/pandaxcl/aggbug/643500.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>pandaxcl</dc:creator><title>自定义STL游标实现虚拟容器(1)</title><link>http://blog.csdn.net/pandaxcl/archive/2006/03/29/643471.aspx</link><pubDate>Wed, 29 Mar 2006 18:46:00 GMT</pubDate><guid>http://blog.csdn.net/pandaxcl/archive/2006/03/29/643471.aspx</guid><wfw:comment>http://blog.csdn.net/pandaxcl/comments/643471.aspx</wfw:comment><comments>http://blog.csdn.net/pandaxcl/archive/2006/03/29/643471.aspx#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://blog.csdn.net/pandaxcl/comments/commentRss/643471.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=643471</trackback:ping><description>在使用过STL一段时间之后，发现STL中的算法的能力非常强大，而我从前在编写一些循环的过程中发现：如果自己能够从这些循环中解脱出来，那么编码过程就会非常轻松，同时代码的正确率更高。在本文中将比较详细的说明自定义兼容STL游标的游标类实现循环。&lt;img src ="http://blog.csdn.net/pandaxcl/aggbug/643471.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>