• 全部
  • nginx
  • Algorithm4
  • UE2
  • stc511
  • STM321
  • Embedded 2
  • ue51
  • STL9
  • 环境8
  • 网络3
  • boost2
  • cmake8
  • c++24
  • Qt6
  • Concurrency

    STL Thread 01 异步

    开了一个新坑,在看UE的多线程,发现在UE5/Source/Runtime/Core/HAL/Allocators/ThreadSafeBool.h下有: ////////////////////////////////////////////////////////////////////////

  • Chrono

    STL Chrono(1)时间基础类

    Duration 表示一个实践段,由时刻(tick)和时刻数组成 std::chrono::duration<int,std::ratio<3600>> hours(1); std::chrono::duration<int,std::ratio<60>> minutes(14); std::

  • Chrono

    STL Ratio

    std::ratio提供了编译器有理数支持 定义如下: template< std::intmax_t Num, std::intmax_t Denom = 1 > class ratio; 其中std::intmax_t是编译器常量,分母不能是0,通知分子和分母不能是最大的负值

  • STL

    [STL]<charconv>

    用于字符串数字和数字值的转化,包含进制转换 主要由from_chars和to_chars两个函数组及其结果类组成。 Functions from_chars On success, returns a value of type std::from_chars_result

  • c++ STL

    [STL]Regular expressions library

    Main Classes basic_regex 正则表达式的模板类,使用正则表达式初始化,需搭配其他helper class使用 // Matches one or more digits const std::string text1="hello 114514hell999o"

  • c++ STL

    [STL]std::partical_sum

    from<numeric> https://en.cppreference.com/w/cpp/algorithm/partial_sum 计算前缀和很方便的函数 code: std::vector<long long > v(10, 2); // v = {2, 2, 2, 2, 2, 2

  • STL c++

    [STL]std::istream_iterator vs std::istreambuf_iterator

    IOstreams use streambufs to as their source / target of input / output. Effectively, the streambuf-family does all the work regarding IO and the IOstr

  • STL

    [STL碎片]std::bitset

    intro: 在Utilities library下,头文件<bitset>内; The class template bitset represents a fixed-size sequence of N bits. Bitsets can be manipulated by standard

  • Algorithm STL

    iterators

    原文 分类 Instead of being defined by specific types, each category of iterator is defined by the operations that can be performed on it.

  • 1
avatar

单调有界必有极限

  • 37

    文章

  • 18

    分类

  • 1085

    访问量

  • 2024-05-29

    建站天数

avatar

单调有界必有极限

  • 37

    文章

  • 18

    分类

  • 1085

    访问量

  • 首页
  • boost
  • Qt
  • c++
  • Concurrency
  • About
请您轻一点,我是很昂贵的机器人哦! O.O