<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Lythm的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/Lythm</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; Lythm]]></copyright><item><title><![CDATA[Editplus中使用lua编译器的输出来定位出错行的正则表达式 ]]></title><link>https://blog.youkuaiyun.com/Lythm/article/details/1592416</link><guid>https://blog.youkuaiyun.com/Lythm/article/details/1592416</guid><author>Lythm</author><pubDate>Mon, 30 Apr 2007 00:07:00 +0800</pubDate><description><![CDATA[在editplus中的自定义Tool里面使用lua编译器来做lua语法检查的时候， 出错的输出会输出到Output窗口，如果没有设置 output pattern的话， 双击错误信息是不会自动跳转到出错行的。output pattern是使用正则表达式来匹配lua编译器的输出的，在网上找了好久也没找到这个正则表达式。实在无奈只好研究了下正则表达式的语法， 自己写了一个。 献给大家。在创建User ]]></description><category></category></item><item><title><![CDATA[C++ Boost 之Python(生成一个扩展模块)]]></title><link>https://blog.youkuaiyun.com/Lythm/article/details/4346</link><guid>https://blog.youkuaiyun.com/Lythm/article/details/4346</guid><author>Lythm</author><pubDate>Mon, 21 Jul 2003 08:15:00 +0800</pubDate><description><![CDATA[生成一个扩展模块Boost的Build过程,就想大家希望的那样,正在经历一些演化和改进.下面的一些事实可能会有帮助: 在Boost的子目录libs/python/build下有各种平台上的Make文件和一个Visual Studio工程. Build的目标包括:    扩展模块使用的boost_python静态连接库.在各种Unix平台上库的文件是libboost_python]]></description><category></category></item><item><title><![CDATA[C++ Boost 之Python(一个简单的例子)]]></title><link>https://blog.youkuaiyun.com/Lythm/article/details/4344</link><guid>https://blog.youkuaiyun.com/Lythm/article/details/4344</guid><author>Lythm</author><pubDate>Mon, 21 Jul 2003 08:15:00 +0800</pubDate><description><![CDATA[ 一个简单的例子 假设我们有下面的C++ API需要暴露给Python: #include namespace { // Avoid cluttering the global namespace.  // A couple of simple C++ functions that we want to expose to Python.  std::str]]></description><category></category></item><item><title><![CDATA[C++ Boost 之Python(继承)]]></title><link>https://blog.youkuaiyun.com/Lythm/article/details/4345</link><guid>https://blog.youkuaiyun.com/Lythm/article/details/4345</guid><author>Lythm</author><pubDate>Mon, 21 Jul 2003 08:14:00 +0800</pubDate><description><![CDATA[继承 在Python中继承用Boost.Python扩展的类在Python中支持单继承和多继承.你可以在派生类中任意地混合内建Python类和扩展类.只要Boost.Python 扩展类是在Python中新的类的基类中, 那么结果就是一个扩展的类: >>> class MyPythonClass:...     def f(): return MyPythonClass.]]></description><category></category></item><item><title><![CDATA[C++ Boost 之Python(大纲)]]></title><link>https://blog.youkuaiyun.com/Lythm/article/details/4343</link><guid>https://blog.youkuaiyun.com/Lythm/article/details/4343</guid><author>Lythm</author><pubDate>Mon, 21 Jul 2003 08:14:00 +0800</pubDate><description><![CDATA[Boost Python 库 (Boost.Python) 大纲用 Boost Python 库来快速简单的将C++程序库输出到Python,这样Python接口就和C++接口非常相似了.这个库是为了最低限度的影响你的 C++设计而设计的.大多数情况下,你不需要被迫修改你的C++类,以便它们能够和 Boost.Python库一起使用.系统将会简单地将你的C++类和函数反射到Pyth]]></description><category></category></item><item><title><![CDATA[C++ Boost 之Lexical_cast]]></title><link>https://blog.youkuaiyun.com/Lythm/article/details/4342</link><guid>https://blog.youkuaiyun.com/Lythm/article/details/4342</guid><author>Lythm</author><pubDate>Mon, 21 Jul 2003 08:14:00 +0800</pubDate><description><![CDATA[Header boost/lexical_cast.hpp    动机     例子     大纲     lexical_cast     bad_lexical_cast     可移植性     未来的方向 动机在很多时候我们必须要把一个值转成字符,就像int表现为一个string,或者相反,一个string被解释成一个int. 当需要在程序内]]></description><category></category></item></channel></rss>