C++开发常用工具包,fcppt 0.12.0 发布

jopen 12年前

fcppt 是一个C++类库,提供各种类和函数来简化C++开发。它试图填补Boost库的一些空白,甚至实现了一些替换Boost组件的实现。具体模块如下:

\fcppt The main fcppt module
 ofcppt.algorithm General-purpose algorithms that don't really fit into a common category
 ofcppt.alignment Typedef structs and macros to specify alignment
 ofcppt.assert Macros and functions for assertions
 ofcppt.assign A replacement for boost::assign
 ofcppt.casts Cast helpers which provide more type information or do additional checks
 ofcppt.container Various containers complementing the standard library and boost
 |ofcppt.container.array An implementation of std::array (see here for a reference)
 |ofcppt.container.bitfield A wrapper around a bitfield using an enum
 |ofcppt.container.grid A simple n-dimensional array
 |ofcppt.container.ptr Helper functions and classes for boost.ptr_container
 |ofcppt.container.raw_vector A special vector class for POD types
 |\fcppt.container.tree A tree data structure
 ofcppt.endianness Functions to convert and query endianness
 ofcppt.export Macros related to library visibility
 ofcppt.filesystem Helper functions for boost::filesystem
 ofcppt.io IO-related typedefs and functions
 ofcppt.log Logging classes and functions
 ofcppt.math Everything math-related goes in here
 |ofcppt.math.box A class representing axis-aligned rectangles, boxes, hypercubes, ..
 |ofcppt.math.dim A class representing dynamic or static n-dimensional dimensions
 |ofcppt.math.matrix A class representing dynamic or static n-dimensional vectors
 |ofcppt.math.quaternion Contains various helper functions for boost::quaternion
 |\fcppt.math.vector A class representing dynamic or static n-dimensional vectors
 ofcppt.mpl MPL related helper functions and metafunctions
 ofcppt.optional A class that makes values optional
 ofcppt.preprocessor Macros for controlling warnings and printing message
 ofcppt.random Random number generators and distributions
 ofcppt.ref Reference wrappers
 ofcppt.signal An implementation of a managed signals and slots system (replacement for boost's signals)
 ofcppt.smart_pointers Smart pointers and their utilities
 ofcppt.string String-related functions and types
 ofcppt.strong_typedef The strong typedef class and helper macros
 ofcppt.time Time query, formatting and sleep utilities
 ofcppt.type_traits Some additional type traits
 ofcppt.variant A class that can hold any object from a fixed set of types
 \fcppt.various Documents smaller features that do not warrant their own modules

这个版本
最明显的是,增加了改善的cmake整合,这使得其他基于cmake项目的</span>更方便使用</span>fcppt。此外还添加了一些新的功能,其中大多数是在数学类中。 fcppt.thread已被删除,因为Boost.Thread已经实现了fcppt.thread的所有功能。最后,unique_ptr的复位(reset)功能已经修复,连同其他一些小的错误修正。
</span>