PTypes 介绍
PTypes (C++ Portable Types Library) is a simple alternative to the STL that includes multithreading and networking. It defines dynamic strings, variants, character sets, lists and other basic data types along with portable thread and synchronization objects, IP sockets and named pipes. Its main `target audience' is developers of complex network daemons, robots or non-visual client/server applications of any kind.
PTypes (C++ Portable Types Library)是一个 STL 的简单替代品,包括了多线程和网络通信。它定义了动态字符串、通用类型、字符集合、列表和其它基本数据类型以及可遗址的线程和同步对象,IP 套接字以及命名管道。它的主要实现目标是用于实现各种复杂的网络服务程序、机器人或者非可视化交互的客户机/服务器程序。
PTypes defines simple and intuitive interfaces and differs from the STL in fairly moderate use of templates. The library is portable across many modern operating systems (currently FreeBSD, Linux, SunOS, Mac OS X and Windows). All platform-dependent issues are hidden inside. A simple web server called wshare is included in the package to demonstrate the full power of the library.
PTypes 定义了简单而直观的接口;与 STL 不同的是它对使用模板采取的保守态度。PTypes 库可以移植到许多现代操作系统上(目前已经有 FreeBSD、Linux、SunOS、Mac OS X 和 Windows 平台的移植)。所有平台相关细节都被隐藏在内部。一个简单的叫做 wshare 的网页服务器包含在其中,用于展示库的使用。
主页:http://www.melikyan.com/ptypes/
下载:http://prdownloads.sourceforge.net/ptypes/ptypes-2.0.2.tar.gz
http://www.melikyan.com/ptypes/ptypes-2.0.2.tar.gz