C++开发常用工具包,fcppt 0.12.0 发布
jopen 12年前
fcppt 是一个C++类库,提供各种类和函数来简化C++开发。它试图填补Boost库的一些空白,甚至实现了一些替换Boost组件的实现。具体模块如下:
fcppt | The main fcppt module |
fcppt.algorithm | General-purpose algorithms that don't really fit into a common category |
fcppt.alignment | Typedef structs and macros to specify alignment |
fcppt.assert | Macros and functions for assertions |
fcppt.assign | A replacement for boost::assign |
fcppt.casts | Cast helpers which provide more type information or do additional checks |
fcppt.container | Various containers complementing the standard library and boost |
fcppt.container.array | An implementation of std::array (see here for a reference) |
fcppt.container.bitfield | A wrapper around a bitfield using an enum |
fcppt.container.grid | A simple n-dimensional array |
fcppt.container.ptr | Helper functions and classes for boost.ptr_container |
fcppt.container.raw_vector | A special vector class for POD types |
fcppt.container.tree | A tree data structure |
fcppt.endianness | Functions to convert and query endianness |
fcppt.export | Macros related to library visibility |
fcppt.filesystem | Helper functions for boost::filesystem |
fcppt.io | IO-related typedefs and functions |
fcppt.log | Logging classes and functions |
fcppt.math | Everything math-related goes in here |
fcppt.math.box | A class representing axis-aligned rectangles, boxes, hypercubes, .. |
fcppt.math.dim | A class representing dynamic or static n-dimensional dimensions |
fcppt.math.matrix | A class representing dynamic or static n-dimensional vectors |
fcppt.math.quaternion | Contains various helper functions for boost::quaternion |
fcppt.math.vector | A class representing dynamic or static n-dimensional vectors |
fcppt.mpl | MPL related helper functions and metafunctions |
fcppt.optional | A class that makes values optional |
fcppt.preprocessor | Macros for controlling warnings and printing message |
fcppt.random | Random number generators and distributions |
fcppt.ref | Reference wrappers |
fcppt.signal | An implementation of a managed signals and slots system (replacement for boost's signals) |
fcppt.smart_pointers | Smart pointers and their utilities |
fcppt.string | String-related functions and types |
fcppt.strong_typedef | The strong typedef class and helper macros |
fcppt.time | Time query, formatting and sleep utilities |
fcppt.type_traits | Some additional type traits |
fcppt.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>