书栈网 · BookStack 本次搜索耗时 0.018 秒,为您找到 1636 个相关结果.
  • 36. Boost.DateTime

    Chapter 36. Boost.DateTime Chapter 36. Boost.DateTime The library Boost.DateTime can be used to process time data such as calendar dates and times. In addition, Boost.DateTime...
  • 33. Boost.Interprocess

    Chapter 33. Boost.Interprocess Chapter 33. Boost.Interprocess Interprocess communication describes mechanisms to exchange data between programs running on the same computer. It...
  • 14. Boost.Array

    Chapter 14. Boost.Array Chapter 14. Boost.Array The library Boost.Array defines the class template boost::array in boost/array.hpp . boost::array is similar to std::array , ...
  • 6. Boost.LexicalCast

    Chapter 6. Boost.LexicalCast Chapter 6. Boost.LexicalCast Boost.LexicalCast provides a cast operator, boost::lexical_cast , that can convert numbers from strings to numeric ty...
  • 5. Boost.StringAlgorithms

    Chapter 5. Boost.StringAlgorithms Note Exercise Chapter 5. Boost.StringAlgorithms The Boost.StringAlgorithms library provides many free-standing functions for string manipul...
  • 14.3. Boost.Any

    1402 2019-12-10 《Boost C++ 库》
    14.3. Boost.Any 14.3. Boost.Any 像 C++ 这样的强类型语言要求给每个变量一个确定的类型。 而以 JavaScript 为代表的弱类型语言却不这样做, 弱类型的每个变量都可以存储数组、 布尔值、 或者是字符串。 库 Boost.Any 给我们提供了 boost::any 类, 让我们可以在 C++ 中像 Java...
  • 13.5. Boost.Bimap

    1859 2019-12-10 《Boost C++ 库》
    13.5. Boost.Bimap 13.5. Boost.Bimap Boost.Bimap 库提供了一个建立在 Boost.MultiIndex 之上但不需要预先定义就可以使用的容器。 这个容器十分类似于 std::map , 但他不仅可以通过 key 搜索, 还可以用 value 来搜索。 #include <boost/bimap.h...
  • 13.2. Boost.Array

    1130 2019-12-10 《Boost C++ 库》
    13.2. Boost.Array 13.2. Boost.Array 库 Boost.Array 在 boost/array.hpp 中定义了一个模板类 boost::array 。 通过使用这个类, 你可以创建一个跟 C++ 里传统的数组有着相同属性的容器。 而且, boost::array 还满足了 C++ 中容器的一切需求, 因此, ...
  • 3.5. Boost.Lambda

    991 2019-12-10 《Boost C++ 库》
    3.5. Boost.Lambda 3.5. Boost.Lambda 匿名函数 - 又称为 lambda 函数 - 已经在多种编程语言中存在,但 C++ 除外。 不过在 Boost.Lambda 库的帮助下,现在在 C++ 应用中也可以使用它们了。 lambda 函数的目标是令源代码更为紧凑,从而也更容易理解。 以本章第一节中的代码例子为例。 ...
  • 3.8 检测Boost库

    3.8 检测Boost库 准备工作 具体实施 工作原理 3.8 检测Boost库 NOTE :此示例代码可以在 https://github.com/dev-cafe/cmake-cookbook/tree/v1.0/chapter-03/recipe-08 中找到,包含一个C++的示例。该示例在CMake 3.5版(或更高版本)中是有效的,...