[转]Boost Test Library

VS2022中Boost库安装配置全攻略:从vcpkg到手动编译 C++标准库为开发者提供了基础的数据结构和算法,但在实际工程中,我们常常需要更强大的工具来处理文件系统、网络通信、并发编程等复杂任务。Boost库作为C++的“准标准库”,通过提供大量经过工业级验证的组件,填补了标准库的空白,其设计思想甚至直接影响了C++标准的演进。理解库的依赖管理和编译链接原理,是构建稳定C++开发环境的关键技术能力。在Windows平台,Visual Studio 2022与Boost库的集成方案直接影响开发效率,其中vcpkg包管理器通过自动化处理依赖和路径配置,大幅降低了环境搭建复 阅读详情

boost 的 Test
test 库中有如下的组件:
Execution Monitor  一个基本用于 program 和 test program 的异常与错误检测与报告机制,Execution Monitor 调用用户提供的函数并报告所有捕获的运行时的异常,它只被其他 Boost Test Library components 内部调用,当然也可以用于一些 production environment 控制那些会导致程序崩溃的函数的调用;
Program Execution Monitor  一个简单的 helper facility 用于监控一个程序的运行,Program Execution Monitor 提供了 main() 函数和 Execution Monitor 监控程序的执行,可以用以 production environment 产生一致错误报告,控制在 test environment 环境中运行的程序,直接使用 Test Execution Monitor;
Test Tools  一个用以进行 testing 的一个 toolbox,Test Tools 被用来测试在 Test Execution Monitor 或 Unit Test Framework 控制下运行的程序;
Test Execution Monitor  让一个测试程序在 monitored environment 环境中运行,Test Execution Monitor 提供了 main() 来控制被测试程序的运行并可以让 Test Tools 实现测试的逻辑,它被用在 test environment,如果要控制 production code 的运行使用 Program Execution Monitor;
Unit Test Framework  用以简化编写和组织 test cases 的 framework,支持简单函数或者是成员函数编写的 test cases 并将他们组织成一个 test suites 的 tree,该 framework 使用 Test Tools 来实现 test cases 并提供了一种机制用以管理 log report level 和 result report level;
minimal testing facility  提供 Boost Test 最初版本的提供的功能的简单 facility,提供了和 Test Execution Monitor 一样的机制,但额外定义了一些简单提供 Test Tools 类似功能的 test tools,它不需要和任何的外部组件 link,适合简单和快速测试的需要,使用于 test environment。

boost Test 的 Execution Monitor
使用 Execution Monitor 的三部曲:
1. #include <boost/test/execution_monitor.hpp>
2. Make an instance of boost::execution_monitor
3. Optionally register custom exception translators for exception classes you want special processing
调用 execution_monitor::execute( function_to_monitor, catch_system_exception, timeout ) 运行 monitored function。如果调用成功则返回一个 integer value,如果有如下的事情发生
1. Uncaught C++ exception
2. hardware or software signal, trap, or other exception
3. Timeout reached
4. debug assert event occurred (under Microsoft Visual C++ or compatible compiler)
the method execution_monitor::execute( ... ) throws the boost::execution_exception
如果希望程序 error message 被转化为  execution_exception 的 error message,则扔出如下的三类异常:C string,std:string,any exception class in std::exception hierarchy。
终止 monitored function 而不让 Execution Monitor 报告 any error 的最佳方法是抛出 boost::execution_aborted。如果不喜欢 "unknown exception caught" message 而更愿意使用自定义的 exception,可以向 execution monitor 为 any exception types 注册 translator 函数,如
ex_mon.register_exception_translator<my_exception1>( &translate_my_exception1 );
my_exception1 是异常类型,translate_my_exception1 是异常处理函数。
class execution_monitor {
public:
    virtual     ~execution_monitor();
    template<typename Exception, typename ExceptionTranslator>
    void        register_exception_translator( ExceptionTranslator const& tr, boost::type<Exception>* = 0 );
    int         execute( unit_test::callback0<int> const& F, bool catch_system_errors = true, int timeout = 0 );
}; // exception monitor
Execution Monitor 用 boost::execution_exception 报告捕获的问题,其最大的特点是不分配任何 memory 因此在内存稀缺环境中使用。
class execution_exception {
public:
    execution_exception( error_code ec, const_string what_msg );
    enum error_code {
        cpp_exception_error,    // see note (1) below
        user_error,             // user reported nonfatal error
        system_error,           // see note (2) below
        timeout_error,          // only detectable on certain platforms
        user_fatal_error,       // user reported fatal error
        system_fatal_error      // see note (2) below
    };
    error_code   code() const;  // use this method to get an error code for the exception
    const_string what() const;  // use this method to get an error message for the exception
};
Note 1 :uncaught C++ exceptions 被当做 error,如果应用程序捕获到 C++ exception,则该 exception 不会到 boost::execution_monitor;
Note 2 :这些 error 包括 UNIX signals 和 Windows structured exceptions,这些经常由 hardware traps 触发。
execution_monitor 可以动态连接,库中没有提供 main 函数。由于只有一个 libs/test/execution_monitor.cpp 文件,因此可以直接 copy 该文件。

boost Test 的 Program Execution Monitor
C++ program 可以通过 return value 和 throwing an exception 报告 user-detected errors,而如 dereferencing an invalid pointer 的 System-detected errors 则以其他方式报告。
Boost Test Library 的 Program Execution Monitor 减轻了用户处理复杂的 error detection 和 reporting,并提供了 main() 函数在 monitored environment 来调用用户提供的 cpp_main() 函数,main() 函数以一致的方式检测和报告多种 errors 的发生,将其转化为一致的 return code 返回给 host enviroment。
BOOST_TEST_CATCH_SYSTEM_ERRORS 设置允许 Execution Monitor 捕获 system errors,默认值为 "yes"。
BOOST_PRG_MON_CONFIRM 设置是否允许用户交互确认程序正确运行,默认值为"yes"。
Program Execution Monitor 使用 Execution Monitor 监视用户提供的 cpp_main() 函数的运行。尽管 Program Execution Monitor 在 libs/test/src/cpp_main.cpp 提供了 main() 函数,但是为了 link 正确,用户必须提供一个与 main() 函数一样接口的 cpp_main() 函数。如 cpp_main() 抛出异常或返回非 0 值,Program Execution Monitor 就认为程序发生错误。
Program Execution Monitor 在 cout 和 cerr 流上分别提供详细和简要的错误报告。Program Execution Monitor 提供的 main() 函数返回如下的值
1. boost::exit_success - no errors
2. boost::exit_failure - non-zero and non-boost::exit_success return code from cpp_main().
3. boost::exit_exception_failure - cpp_main() throw an exception.

boost Test 的 Test Tools
Test Tools 为了让用户使用方便,提供了一系列的宏,这些宏分三级,其效果是不同的:
WARN 不增加引用计数,继续执行程序
CHECK 增加应用计数,继续执行程序
REQUIRE 增加应用计数,中断程序的运行
使用 CHECK level tools 实现 assertions,使用 WARN level tools 检验不太重要但是正确的方面,如:性能、可移植性、有用性,如 assertions 失败就不应该让程序继续运行则使用 REQUIRE level tools。
Test Tools 提供了两个 .hpp 文件 boost/test/test_tools.hpp 和 boost/test/floating_point_comparison.hpp,一个 .cpp 文件 libs/test/test_tools.cpp
BOOST_WARN( P )
BOOST_CHECK( P )
BOOST_REQUIRE( P )
BOOST_WARN_MESSAGE( P, M )
BOOST_CHECK_MESSAGE( P, M )
BOOST_REQUIRE_MESSAGE( P, M )
BOOST_ERROR( M )BOOST_FAIL( M )
BOOST_MESSAGE( M )
BOOST_CHECKPOINT( M )
BOOST_WARN_THROW( S, E )
BOOST_CHECK_THROW( S, E )
BOOST_REQUIRE_THROW( S, E )
BOOST_WARN_EXCEPTION( S, E, P )
BOOST_CHECK_EXCEPTION( S, E, P )
BOOST_REQUIRE_EXCEPTION( S, E, P )
BOOST_IGNORE_CHECK( e )
BOOST_WARN_NO_THROW( S )
BOOST_CHECK_NO_THROW( S )
BOOST_REQUIRE_NO_THROW( S )
BOOST_WARN_CLOSE( L, R, T )
BOOST_CHECK_CLOSE( L, R, T )
BOOST_REQUIRE_CLOSE( L, R, T )
BOOST_WARN_SMALL( FPV, T )
BOOST_CHECK_SMALL( FPV, T )
BOOST_REQUIRE_SMALL( FPV, T )
BOOST_WARN_PREDICATE( P, ARGS )
BOOST_CHECK_PREDICATE( P, ARGS )
BOOST_REQUIRE_PREDICATE( P, ARGS )
BOOST_WARN_EQUAL_COLLECTIONS( L_begin, L_end, R_begin, R_end )
BOOST_CHECK_EQUAL_COLLECTIONS( L_begin, L_end, R_begin, R_end )
BOOST_REQUIRE_EQUAL_COLLECTIONS( L_begin, L_end, R_begin, R_end )
BOOST_WARN_BITWISE_EQUAL( L, R )
BOOST_CHECK_BITWISE_EQUAL( L, R )
BOOST_REQUIRE_BITWISE_EQUAL( L, R )
BOOST_IS_DEFINED( symb )
BOOST_BITWISE_EQUAL( L, R )

boost Test 的 Test Execution Monitor
Test Execution Monitor 结合了 Test Tools 和 Execution Monitor 的特点简化了烦琐测试工作,它提供了 main() 函数调用用户提供的 test_main() 函数,用户可以使用 Test Tools 来进行复杂的验证工作。
Test Execution Monitor 被设计用来进行测试简单的程序或者从已存在的 production code 中 dig a problem。Program Execution Monitor 更适合监控 production (non-test) programs(因为它不影响程序的性能),而 Unit Test Framework 更适合 complex test programs,因为 Unit Test Framework 可以
1. 可以将 test 分割到多个 test cases,它会为每一个 test case 分别产生 pass/fail 的统计信息;
2. 假如某一个 test case 失败了不会影响其他的 test;
3. 可以通过指定 name 来运行特定的 test case
4. 分离的 test cases 运行更清楚发现特定测试模块的目的
5. 可以设置更多的选项

boost Test 的 Unit Test Framework
regression testing 只关注程序运行的时候是否有错误发生,而 unit test 则需要尽可能详细的输出错误的信息。Unit Test Framework 用 test tools 简化了 test cases 的编写并将其组织为有层次的 test suites。它提供了 main() 函数初始化 framework,通过命令行参数或者是环境变量设置参数,并通过 init_unit_test_suite(argc, argv),然后运行用户的 test suite。Framework 跟踪所有的 passed/failed 的 Test Tools assertions,可以通过 test cases 的数目(part 和 total)得到测试进度,并且可以多种形式提供结果。Unit Test Framework 可被用来进行简单测试和复杂重要测试,它不适合用在 production code,同时它以运行时的效率为代价加速编译。
该函数负责创建和初始化顶层的 test_suite 实例,如 test_suite 创建失败该函数返回 NULL 指针,测试终止并返回一个 boost::exit_test_failure。Framework 在测试运行时传递特定的命令行参数,同时排斥其他 framework 指定的参数,同时 framework 负责 test_suite 的生命周期,在 test 终止时会被销毁。
假如 test cases 会丢出自定义的异常,可以像 Execution Monitor 那样注册特定的 translator,注册函数的原型定义如下
template<typename Exception, typename ExceptionTranslator>
void boost::unit_test::register_exception_translator( ExceptionTranslator const& tr, boost::type<Exception>* d = 0 )
一旦测试结束,framework 会报告结果并返回 return code。下面是集成在 unit test framework 内部的的返回值
boost::exit_success  returned if no errors occurred during test or success result code was explicitly requested with the no result code framework parameter
boost::exit_test_failure  returned if nonfatal errors detected and no uncaught exceptions thrown or the framework fails to initialize the test suite
boost::exit_exception_failure  returned if fatal errors detected or uncaught exceptions thrown
在 VC7.1+stlport 4.62 上 unit_test_example3.cpp 没有通过(对多种继承没有通过)
简单的使用方法:
1. 首先定义 #define BOOST_AUTO_TEST_MAIN
2. 包含 #include <boost/test/auto_unit_test.hpp>
3. 创建一个 test_suite
BOOST_AUTO_TEST_CASE( test )
{
    BOOST_CHECK( true );
}
然后 link libboost_test_exec_monitor-vc71-mt-sp-1_33.lib 就可以了。
另一类使用方法,首先包含如下
#include <boost/test/unit_test.hpp>
#include <boost/test/unit_test_monitor.hpp>
using namespace boost::unit_test;
然后声明 test_suite* init_unit_test_suite(int /*argc*/, char* /*argv*/[]) {}
一个典型用法是
test_suite* init_unit_test_suite( int /*argc*/, char* /*argv*/[] ) {
    test_suite* test = BOOST_TEST_SUITE("custom_exception_test");
    unit_test_monitor.register_exception_translator<my_exception1>( &my_exception1_translator );
    unit_test_monitor.register_exception_translator<my_exception2>( &my_exception2_translator );
    test->add( BOOST_TEST_CASE( &throw_my_exception1 ) );
    test->add( BOOST_TEST_CASE( &throw_my_exception2 ) );
    return test;
}

boost 的 minimal testing facility
只适合使用在 test environment 中,不需要 link 任何外部的组件。用户只需要提供了如下的函数
int test_main( int argc, char* argv[] ) 就可以了。minimal testing facility 提供了 BOOST_CHECK(predicate),BOOST_REQUIRE(predicate),BOOST_ERROR(message), BOOST_FAIL(message)。除了这四个 MACRO 以外可以通过抛出异常和 return 返回值报告错误。下面是 boost 提供的一个示例。
#include <boost/test/minimal.hpp>
int add( int i, int j ) { return i+j; }
int test_main( int, char *[] )             // note the name!
{
    // six ways to detect and report the same error:
    BOOST_CHECK( add( 2,2 ) == 4 );        // #1 continues on error
    BOOST_REQUIRE( add( 2,2 ) == 4 );      // #2 throws on error
    if( add( 2,2 ) != 4 )
      BOOST_ERROR( "Ouch..." );            // #3 continues on error
    if( add( 2,2 ) != 4 )
      BOOST_FAIL( "Ouch..." );             // #4 throws on error
    if( add( 2,2 ) != 4 ) throw "Oops..."; // #5 throws on error
    return add( 2, 2 ) == 4 ? 0 : 1;       // #6 returns error code
}
BOOST_CHECK 如果该表达式失败了,会出现源代码文件名、代码行号、并且会增加 error count,一旦程序终止 error count 会显示在 std::cout;
BOOST_REQUIRE 类似于 BOOST_CHECK,但是会抛出被  Minimal testing facility 捕获的异常。

boost::test模块属性测试工具单元测试 接着,定义一个简单的函数add,并在下面的BOOST_AUTO_TEST_SUITE和BOOST_AUTO_TEST_CASE中使用BOOST_CHECK_EQUAL宏进行测试。其中,BOOST_AUTO_TEST_SUITE用于定义测试套件名,BOOST_AUTO_TEST_CASE用于定义测试用例名。在测试代码中,我们使用BOOST_CHECK_EQUAL宏进行测试。在BOOST_AUTO_TEST_CASE中,我们调用TestAdd类的test_add_1和test_add_2方法,即可进行测试。 阅读详情

相关推荐

Boost.Test-如何将测试套件(源码文件)组织成工程、并执行测试

2.CMakeLists.txt需要自己编写,本例内容如下。1.测试套件TestSuite的源码文件组织如下图。3.执行生产、编译及测试,本例命令如下。Boost.Test资源及示例的续篇。

qq_42531872的博客 315

CMake与Boost Test实战:构建标准化C++单元测试框架

单元测试是保障C++代码质量的核心实践,通过自动化验证代码逻辑,能有效提升软件可靠性与可维护性。其原理在于隔离代码单元,验证其输入输出是否符合预期,从而在开发早期发现缺陷。现代C++项目常借助测试框架实现这一过程,其中Boost Test以其功能全面、灵活性高而著称。然而,手动配置测试框架与项目构建往往面临跨平台兼容性差、依赖管理复杂等工程挑战。CMake作为跨平台构建工具,通过声明式脚本自动化管理编译、链接与依赖查找,能系统性地解决这些问题。结合CMake与Boost Test,开发者可以快速搭建一套标准

chubaisheng8627的博客 390

jetson orin nano 使用cuPCL

jetson开发板上使用pcl时,正常使用的是cpu,拖慢了整体的效率。cuPCL有一些库用于使用CUDA处理点云。

weixin_42256401的博客 1021

Boost.Test 使用说明

(1) 测试套件(Test Suite)和测试用例(Test Case)是 Boost.Test 的核心组成部分。测试套件用于组织多个测试用例,而测试用例则是具体的测试逻辑。(2)测试装饰器用于为测试套件和测试用例添加额外信息,例如标签、描述等。日志和报告:支持多种日志格式(如纯文本、XML、JUnit)。all / success:输出所有信息,包括成功测试的通知。:设置日志格式,支持 HRF(可读格式)和 XML 格式。test_suite:输出测试套件信息。:检查条件是否为真,失败时不中断测试。

crazymaple213的专栏 1313

HTTPS接口测试翻车实录:为什么浏览器能访问而curl报证书错误?

本文深入分析了HTTPS接口测试中浏览器访问正常而curl报证书错误的典型问题。通过对比浏览器、Postman和curl的工具行为差异,结合Nginx日志与Wireshark抓包,揭示了问题根源在于网络架构中HTTPS请求被意外“降级”为HTTP传输,导致SSL握手失败。文章重点探讨了curl工具严格验证机制暴露的`Peer's Certificate issuer is not recognized`错误,并提供了网络配置修正方案与标准化测试流程。

u9v0w的博客 282

泛微Ecology9接口调用全流程:从配置到实战Java代码解析

本文详细解析了泛微Ecology9系统接口的完整调用流程,涵盖安全架构、服务端配置与客户端Java实战代码。重点阐述了基于RSA加密的认证机制、Token管理策略,并提供了企业级集成的核心代码示例与生产环境调优建议,帮助开发者安全、高效地实现系统对接。

m9n0o的博客 843

了解 Boost 单元测试框架

什么是单元测试? 复杂的 C/C++ 代码中很可能有 bug,到代码编写完成之后再来测试就像大海捞针。比较谨慎的办法是,在编写各个代码段时,针对特定的区域(例如,一些包含大量计算的 C 函数或声明队列等数据结构的C++ 类),添加专门的小测试(单元测试),以在编写代码的同时进行测试。按这种方式构建的回归测试套件包含一套单元测试和一个测试驱动程序,这个程序运行测试并报告结果。

Junkie0901的专栏 1048

企业华为TaurusDB数据库国产替代要点全记录

国产化数据库全方位对比、从互联网企业的先进经验来看mysql的用法、及sql优化、sql异构修改、及数据同步方面都做了一些讲解

深耕互联网的码农,在AI及国产化浪潮下,希望把自己的能力输出给更多的人 1068

BOOST_TEST 初探

#include   与  #include 区别:     前者直接包含源代码,后者还需链接unit_test的lib     (但前者这样会很容易造成与现有其他代码的种种冲突,像winsock2啊...)      如开头无 #define BOOST_TEST_MODULE xxxx,则需 定义入口:     test_suite* __cdecl init_unit_test_

victor1960的专栏 2460

【CVPR 2025】清华:注意力状态空间模块,Mamba与注意力的超强组合,即插即用!

MambaIRv2提出了一种创新的图像恢复模型,通过引入注意力状态空间模块(ASSM)解决了Mamba模型因果建模限制问题。该模型结合语义引导邻域机制和注意力状态空间方程,实现了非因果建模,有效缓解了长距离衰减问题。实验表明,MambaIRv2在图像超分辨率、JPEG压缩伪影减少和图像去噪等任务中表现优异,参数更少但性能超越现有方法。

qq_43303160的博客 3043

【HomeAssistant接入的设备实现天猫精灵】

Home Assistant的HassLife组件: 此Home Assistant的组件可以让天猫精灵、小爱同学对接HomeAssistant平台上的设备,控制设备、查询上报设备状态。 注意:本插件只负责上报HomeAssistant的设备状态信息到服务器,控制功能需要在HassLife 平台上配置。.........

vor234的博客 1万+

Boost.Test 项目推荐

Boost.Test 项目推荐 项目基础介绍和主要编程语言 Boost.Test 是一个广泛使用的 C++ 单元测试框架,属于 Boost 库的一部分。Boost 库是 C++ 社区中一个非常重要的开源项目,提供了大量高质量的库,涵盖了从基础数据结构到高级算法等多个领域。Boost.Test 作为 Boost 库的一部分,专注于提供强大的单元测试功能,支持 C++11/14/17 标准,适用于多种...

gitblog_01076的博客 477

python爬虫案例——腾讯网新闻标题(异步加载网站数据抓取,post请求)(6)

本篇案例主要讲解异步加载网站如何分析网页接口,以及如何观察post请求URL的参数,网站数据并不难抓取,主要是将要抓取的数据接口分析清楚,才能根据需求编写想要的代码。

@CSDN盲敲代码的阿豪的博客 947

cmake联合boost.test做单元测试

假设测试代码都在test目录下 测试代码就用boost的例子 #define BOOST_TEST_MODULE My Test #include <boost/test/included/unit_test.hpp> BOOST_AUTO_TEST_CASE(first_test) { int i = 1; BOOST_TEST(i); BOOST_TEST(i ...

978

GB28181 —— 1、Ubuntu20.04下使用ZLMediaKit+WVP搭建GB28181流媒体监控平台(连接带云台摄像机)

GB28181 —— Ubuntu20.04下使用ZLMediaKit+WVP搭建GB28181流媒体监控平台

5469

WINCC7.3破解文件

WINCC7.3硬件够破解文件,有需要的下载!WINCC7.3硬件够破解文件,有需要的下载!

Boost.Test 开源项目使用教程

Boost.Test 开源项目使用教程 项目概述 Boost.Test 是 Boost 库套件中的一个部分,专注于提供单元测试框架,使得C++开发者能够有效地编写和执行测试用例。通过此库,可以实现对代码的自动化测试,确保软件质量。该项目位于 GitHub 上的仓库地址是 https://github.com/boostorg/test.git。 接下来的内容将引导您了解项目的目录结构、启动文件以及...

gitblog_01034的博客 426

Data-Structures-and-Algorithm-Analysis-in-Java.pdf

作者: Weiss, Mark A. 出版社: Addison Wesley Data Structures and Algorithm Analysis in Java is an “advanced algorithms” book that fits between traditional CS2 and Algorithms Analysis courses. In the old ACM Curriculum Guidelines, this course was known as CS7. This text is for readers who want to learn good programming and algorithm analysis skills simultaneously so that they can develop such programs with the maximum amo...

Boost Test Library(zz)

原文地址:http://www.cppblog.com/shuiyuan2004/archive/2008/03/29/45677.html boost 的 Test test 库中有如下的组件: Execution Monitor  一个基本用于 program 和 test program 的异常与错误检测与报告机制,Execution Monitor 调用用户提...

weixin_34341229的博客 217

廖雪峰Python教程[完整版]

廖雪峰的python教程整理的,已经排好版了,而且还是完整的,适合小白

LinePhone3.2.7(android端最新版本) sip客户端

SIP客户端For android:LinePhone3.2.7(最新版本),官网地址:http://www.linphone.org/

解决BOOST消息队列library_error异常的关键技巧

进程间通信(IPC)是分布式系统和多进程应用的核心技术,其中消息队列作为异步通信机制被广泛使用。BOOST库提供的message_queue通过共享内存实现高性能IPC,其跨平台特性使其成为C++项目的首选方案。在实际开发中,参数一致性检查是确保通信可靠性的关键,特别是max_message_size的设置必须与收发操作严格匹配。通过分析BOOST底层实现原理,发现其通过预分配内存和头部校验来保证线程安全,这也解释了常见的library_error异常成因。在嵌入式系统和金融交易等场景中,采用RAII模式管

weixin_30947043的博客 345

C++ Unit Testing Framework: A Boost Test Tutorial——part1:Boost Test crash-course

原文地址:http://www.beroux.com/english/articles/boost_unit_testing/ So many C++ unit testing framework exist, so why Boost Test Library? The excellent but outdated article Exploring the C++ Unit Testing...

weixin_30292843的博客 165

BOOST消息队列异常排查:library_error问题解析

消息队列作为进程间通信的核心组件,其稳定性和性能直接影响分布式系统的可靠性。BOOST库提供的消息队列实现基于共享内存机制,通过严格的内存结构管理确保数据安全传输。在实际工程实践中,消息尺寸参数的一致性往往被忽视,导致难以排查的随机性异常。本文通过分析BOOST消息队列的底层实现原理,揭示library_error异常背后的真实原因,并给出类型安全封装、批量传输优化等最佳实践方案。针对高频交易等严苛场景,还探讨了多队列负载均衡、系统级监控等进阶技巧,帮助开发者规避跨平台兼容性问题。

weixin_30596343的博客 385

boost test

http://www.ibm.com/developerworks/cn/aix/library/au-ctools1_boost/ http://www.boost.org/doc/libs/1_51_0/libs/test/doc/html/intro.html 1. Why did I get a linker error when c

winkenjiang的专栏 884

关于C ++:Cmake无法找到Boost库

关于C ++:Cmake无法找到Boost库我是Cmake的新手,并增强了C ++中的库。我正在做一个需要boost和Cmake的项目。我正在使用Cmake版本2.8.11,MS Visual Studio 2013和Boost 1.54.0。我已经看到很多与我有关的问题并尝试过,但都徒劳无功。

我的博客 3254

Boost Library Array1D, Array2D Test

1 /*********************************************************************/ 2 /* Arrays.h */ 3 /* Author: Tim Borer ...

aomianyang7233的博客 166
上一篇: XP Embedded 必须安装的组件
下一篇: [转]boost 状态机学习
521
521
博客等级 码龄26年 10粉丝 23原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值