首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏C++核心准则原文翻译

    C++核心准则C.45:使用类内初始化器初始化数据成员

    The compiler-generated function can be more efficient. 使用类内初始化器可以让编译器为你生成一个函数。编译器生成的函数效率更高。 // ... }; Example(示例) class X2 { string s = "default"; int i = 1; public: // use compiler-generated

    80000发布于 2020-03-25
  • 来自专栏酷酷的哀殿

    Swift 汇编(一)Protocol Witness Table 初探

    0x10518a8b5 <+85>: call 0x10518ae60 ; __swift_project_boxed_opaque_existential_1 at <compiler-generated 0x10518a8d6 <+118>: call 0x10518aec0 ; __swift_destroy_boxed_opaque_existential_1 at <compiler-generated 注意到下一个 call 的函数是 __swift_project_boxed_opaque_existential_1 at <compiler-generated>,它的存在是由于我们的这种写法导致:

    2.2K10发布于 2021-06-22
  • 来自专栏iOS开发~

    iOS_Crash报告的组成结构

    TouchCanvas 0x0000000102af7d10 ViewController.touchesMoved(_:with:) + 48400 (<compiler-generated TouchCanvas 0x0000000102af80b8 @objc ViewController.touchesMoved(_:with:) + 49336 (<compiler-generated 某些情况下跟原始源代码不对应: 如果源文件名是 <compiler-generated>,则编译器为该框架创建代码,并且该代码不在您的源文件中。

    93820编辑于 2023-10-18
  • 来自专栏C++核心准则原文翻译

    C++核心准则C.80:如果明确希望使用默认语义,使用=default

    Moderate) The body of a special operation should not have the same accessibility and semantics as the compiler-generated

    38330发布于 2020-03-25
  • 来自专栏C++核心准则原文翻译

    C++核心准则​讨论:保持定义复制,移动和析构函数的一致性

    fails to compile, or does something suspicious If you define a destructor, you should not use the compiler-generated Prefer compiler-generated (including =default) special members; only these can be classified as "trivial

    1.1K10发布于 2020-12-15
  • 来自专栏C++核心准则原文翻译

    C++核心准则C.37:保证析构函数不会抛出异常

    Note(注意) A destructor (either user-defined or compiler-generated) is implicitly declared noexcept (independently

    93810发布于 2020-03-25
  • 来自专栏网罗开发

    Swift Hook 新思路 -- 虚函数表

    0x1042b8824 <+120>: bl 0x1042b9578 ; type metadata accessor for SwiftDemo.MyTestClass at <compiler-generated 0x1026207ec <+120>: bl 0x102621548 ; type metadata accessor for SwiftDemo.MyTestClass at <compiler-generated 0x1048c2114 <+40>: bl 0x1048c24b8 ; type metadata accessor for SwiftDemo.MyTestClass at <compiler-generated 0x1040f0aa0 <+120>: bl 0x1040f16a8 ; type metadata accessor for SwiftDemo.MyTestClass at <compiler-generated type metadata for SwiftDemo.MyTestClass 那么这个被标记为 type metadata accessor for SwiftDemo.MyTestClass at <compiler-generated

    2.2K31发布于 2021-04-07
  • 来自专栏酷酷的哀殿

    Objective-C/kotilin 混编项目函数调用栈异常排查笔记(1) - Fast Unwind 与序章

    TouchCanvas 0x0000000102af7d10 ViewController.touchesMoved(_:with:) + 48400 (<compiler-generated TouchCanvas 0x0000000102af80b8 @objc ViewController.touchesMoved(_:with:) + 49336 (<compiler-generated AppDelegate.swift:12:代码的文件名和行号 在某些情况下,文件名或行号信息与原始源代码不对应: 如果源文件名为<compiler-generated>,则代表该函数是编译器为框架创建的源码

    1.8K10发布于 2021-03-03
  • 来自专栏bug收集

    快速了解Vue3的新特性

    事件侦听器缓存 等等 4, 更多编译时优化 Slot 默认编译为函数:父子之间不存在强耦合,提升性能 Monomorphic vnode factory:参数一致化,给它children信息, Compiler-generated

    69310编辑于 2022-07-22
  • 来自专栏C++开发学习交流

    【C++】基础:Effective C++高效编程建议

    如果不想使用compiler-generated functions编译器生成函数,就明确拒绝 7. 如果不想使用compiler-generated functions编译器生成函数,就明确拒绝 为了拒绝编译器生成函数,将相应的 member functions(成员函数)声明为 private,而且不要给出

    94510编辑于 2024-07-24
  • 来自专栏数据流分析

    SAST-数据流分析-精讲

    地址码中的地址可能有如下的几种类型:名字(Name),包括变量(Variable)标签(Label)用于指示程序位置,方便跳转指令的书写字面常量(Literal Constant)编译器生成的临时量(Compiler-Generated

    21700编辑于 2024-04-13
  • 来自专栏c#开发者

    making Task<T> awaitable

    different, and it's worth making sure you understand them before you try to wrap your head round the compiler-generated

    79870发布于 2018-04-12
  • 来自专栏程序员

    C++中虚函数与构造/析构函数的深度解析

    ." << std::endl; // [Compiler-Generated Code]: 编译器自动添加的代码 // 1.

    53310编辑于 2025-09-05
  • 来自专栏along的开发之旅

    Smart Pointer Programming Techniques

    (void * data, size_t size) { pimpl_->read(data, size); } The key thing to note here is that the compiler-generated

    1.9K10发布于 2020-10-10
  • 来自专栏vivo互联网技术

    浅谈 Java 中的 AutoCloseable 接口

    thrown in sibling code blocks, in particular in the try block of a try-with-resources statement and the compiler-generated

    2.3K30发布于 2020-11-02
  • 来自专栏网罗开发

    多角度体会 Swift 方法派发

    SwiftMethodDispatch`@objc SwiftMethodDispatch.SwiftMethodDispatchMessage.getMethodName() -> Swift.String at <compiler-generated

    85930发布于 2021-10-19
  • 来自专栏JohnYao的技术分享

    协程及c++ 20原生协程研究报告 下

    针对上面的协程some_coroutine,以及它的返回值类型T,调用协程的语句可以理解为如下过程 (引自参考文献1) // Pretend there's a compiler-generated structure

    1.4K20编辑于 2022-06-29
  • 来自专栏【腾讯云开发者】

    如何优雅地实现C++编译期多态?

    这里会用到一个Data类型,也是完全copy的dyno的实现,定义如下: struct Data { Data() = default; // Suppress compiler-generated

    1.3K21编辑于 2022-07-19
  • 来自专栏张善友的专栏

    .NET 11 预览版 1 中的新兴架构演进:RISC-V 与 LoongArch 支持的深度技术解析与生态展望

    传统基于 C# 编译器的 async/await 实现依赖于生成复杂的托管状态机(Compiler-generated state machine),而.NET 11 的 Runtime Async 将这些协程挂起

    56720编辑于 2026-03-08
领券