boost库, c++标准库
来源:互联网 发布:战神诀披风进阶数据 编辑:程序博客网 时间:2024/05/23 01:13
linux下编译boost_1_57_0.tar.gz
编译linux x86版本:
进入boost目录:
1.
mkdir /__INSTALL/
2.
./bootstrap.sh --prefix=/usr/local/include/boost/boost_1_57_0/__INSTALL/
3.
./b2
4.
./b2 install
应用log库的时候,需要指定gcc选项
-DBOOST_LOG_DYN_LINK
程序运行时,先设置动态库的路径到环境变量
export LD_LIBRARY_PATH=/usr/local/include/boost/boost_1_57_0/__INSTALL/lib/
编译linxu arm版本:
http://www.boost.org/build/doc/html/bbv2/tasks/crosscompile.html
进入boost目录:
1.
mkdir /__INSTALL/
2.
./bootstrap.sh --prefix=/usr/local/include/boost/boost_1_57_0/__INSTALL/
3.
编辑project-config.jam(注意冒号前后有空格)
using gcc : arm : arm-none-linux-gnueabi-g++ ;
4.
./b2 toolset=gcc-arm
5.
./b2 install
另外,c标准库和c++标准库
http://www.cplusplus.com/reference/
Reference
Reference of the C++ Language Library, with detailed descriptions of its elements and examples on how to use its functions
The standard C++ library is a collection of functions, constants, classes, objects and templates that extends the C++ language providing basic functionality to perform several tasks, like classes to interact with the operating system, data containers, manipulators to operate with them and algorithms commonly needed.The declarations of the different elements provided by the library are split in several headers that shall be included in the code in order to have access to its components:
algorithmcomplexexceptionliststackbitsetcsetjmpfstreamlocalestdexceptcassertcsignalfunctionalmapstrstreamcctypecstdargiomanipmemorystreambufcerrnocstddefiosnewstringcfloatcstdioiosfwdnumerictypeinfociso646cstdlibiostreamostreamutilityclimitscstringistreamqueuevalarrayclocalectimeiteratorsetvectorcmathdequelimitssstream
It can be divided into:
C Library
The elements of the C language library are also included as a subset of the C++ Standard library. These cover many aspects, from general utility functions and macros to input/output functions and dynamic memory management functions:- cassert (assert.h)
- C Diagnostics Library (header)
- cctype (ctype.h)
- Character handling functions (header)
- cerrno (errno.h)
- C Errors (header)
- cfloat (float.h)
- Characteristics of floating-point types (header)
- ciso646 (iso646.h)
- ISO 646 Alternative operator spellings (header)
- climits (limits.h)
- Sizes of integral types (header)
- clocale (locale.h)
- C localization library (header)
- cmath (math.h)
- C numerics library (header)
- csetjmp (setjmp.h)
- Non local jumps (header)
- csignal (signal.h)
- C library to handle signals (header)
- cstdarg (stdarg.h)
- Variable arguments handling (header)
- cstddef (stddef.h)
- C Standard definitions (header)
- cstdio (stdio.h)
- C library to perform Input/Output operations (header)
- cstdlib (stdlib.h)
- C Standard General Utilities Library (header)
- cstring (string.h)
- C Strings (header)
- ctime
- C Time Library (header)
C++ Standard Library: Miscellaneous libraries
Language support library:- limits
- Numeric limits (header)
- new
- Dynamic memory (header)
- typeinfo
- Type information (header)
- exception
- Standard exception class (class)
Diagnostics library:
- stdexcept
- Exception classes (header)
General utilities library:
- utility
- Utility components (header)
- functional
- Function objects (header)
- memory
- Memory elements (header)
Strings library:
- string
- C++ Strings library (library)
Localization library:
- locale
- Localization library (header)
C++ Standard Library: Standard Template Library (STL)
Containers library:- bitset
- Bitset (class template)
- deque
- Double ended queue (class template )
- list
- List (class template )
- map
- Map (class template )
- multimap
- Multiple-key map (class template )
- multiset
- Multiple-key set (class template)
- priority_queue
- Priority queue (class template )
- queue
- FIFO queue (class template )
- set
- Set (class template )
- stack
- LIFO stack (class template )
- vector
- Vector (class template )
Iterators library:
- iterator
- Iterator definitions (header)
Algorithms library:
- STL Algorithms
- Standard Template Library: Algorithms (library )
Numeric library:
- complex
- Complex numbers library (header)
- valarray
- Library for arrays of numeric values (header)
- numeric
- Generalized numeric operations (header)
C++ Standard Library: Input/Output Stream Library
Provides functionality to use an abstraction called streams specially designed to perform input and output operations on sequences of character, like files or strings.This functionality is provided through several related classes, as shown in the following relationship map, with the corresponding header file names on top:
- C++“准”标准库Boost学习指南(2):Boost.Conversion
- C++“准”标准库Boost学习指南(2):Boost.Conversion
- C++“准”标准库Boost学习指南(3):Boost.Utility
- C++“准”标准库Boost学习指南(4):Boost.Operators
- C++“准”标准库Boost学习指南(6):Boost.Any
- C++“准”标准库Boost学习指南(7):Boost.Variant
- C++“准”标准库Boost学习指南(8):Boost.Tuple
- C++“准”标准库Boost学习指南(9):Boost.Bind
- C++“准”标准库Boost学习指南(10):Boost.Lambda
- C++“准”标准库Boost学习指南(11):Boost.Function
- C++“准”标准库Boost学习指南(12):Boost.Signals
- 准标准库Boost
- Boost标准库安装
- 深入C++“准”标准库,Boost你的力量
- Boost程序库完全开发指南:深入C++“准”标准库
- C++“准”标准库Boost学习指南-variant的使用
- C++“准”标准库Boost学习指南-variant的使用
- [教程] C++“准”标准库Boost学习指南(5):正则表达式库 Boost.Regex
- (droid分享)新浪微博开发系列【五】之显示主页
- httpd+xpm+libxml+jpegsrc+libpng+freetype+zlib+gd+php-5.2.2+ZendOptimizer-3.0.1+Mysql
- 分享45个android实例源码,很好很强大.收藏吧!!!
- request_mem_region 与 ioremap ,struct resource
- 宏和函数的区别(转载)
- boost库, c++标准库
- poj3216Floyd+最小路径覆盖
- ASP.NET Excel文件导入
- (droid分享)新浪微博开发系列【六】之查看@我的微博和评论
- cmd和批处理命令大全
- UVA 540 Team Queue
- 11级_Java_曹建波 09.26 注解
- Java虚拟机学习 - 垃圾收集算法
- N的阶乘中末尾有几个0