摘要: A C++ program is a sequence of text files (typically header and source files) that contain declarations. They undergo translation to become an executa 阅读全文
posted @ 2020-11-23 17:42 fndefbwefsowpvqfx 阅读(108) 评论(0) 推荐(0) 编辑
摘要: https://en.cppreference.com/w/cpp/language/memory_model https://en.cppreference.com/w/cpp/atomic/memory_order First, you have to learn to think like a 阅读全文
posted @ 2020-11-23 15:26 fndefbwefsowpvqfx 阅读(108) 评论(0) 推荐(0) 编辑
摘要: find it easiest to understand move semantics with example code. Let's start with a very simple string class which only holds a pointer to a heap-alloc 阅读全文
posted @ 2020-11-23 15:24 fndefbwefsowpvqfx 阅读(86) 评论(0) 推荐(0) 编辑
摘要: extern "C" makes a function-name in C++ have C linkage (compiler does not mangle the name) so that client C code can link to (use) your function using 阅读全文
posted @ 2020-11-23 15:22 fndefbwefsowpvqfx 阅读(134) 评论(0) 推荐(0) 编辑
摘要: The compiler is allowed to make one implicit conversion to resolve the parameters to a function. What this means is that the compiler can use construc 阅读全文
posted @ 2020-11-23 15:21 fndefbwefsowpvqfx 阅读(119) 评论(0) 推荐(0) 编辑
摘要: I guess you're missing something, here. static function? Declaring a function static will make it "hidden" in its compilation unit. A name having name 阅读全文
posted @ 2020-11-23 15:18 fndefbwefsowpvqfx 阅读(447) 评论(0) 推荐(0) 编辑
摘要: https://www.oracle.com/technical-resources/articles/it-infrastructure/stable-cplusplus-abi.html As C++ evolved over the years, the Application Binary 阅读全文
posted @ 2020-11-23 13:35 fndefbwefsowpvqfx 阅读(112) 评论(0) 推荐(0) 编辑
摘要: Itanium C++ ABI Contents Acknowledgements Chapter 1: Introduction 1.1 Definitions 1.2 Limits 1.3 Namespace and Header 1.4 Scope of This ABI 1.5 Base D 阅读全文
posted @ 2020-11-23 13:29 fndefbwefsowpvqfx 阅读(293) 评论(0) 推荐(0) 编辑
摘要: Calling Conventions Demystified Visual C++ calling conventions explained Introduction During the long, hard, but yet beautiful process of learning C++ 阅读全文
posted @ 2020-11-23 13:13 fndefbwefsowpvqfx 阅读(171) 评论(0) 推荐(0) 编辑
摘要: https://www.cprogramming.com/compilingandlinking.html https://stackoverflow.com/questions/6264249/how-does-the-compilation-linking-process-work https: 阅读全文
posted @ 2020-11-23 12:36 fndefbwefsowpvqfx 阅读(74) 评论(0) 推荐(0) 编辑
摘要: https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/rzarg/name_mangling.htm Name mangling is the encoding of function and variable names into 阅读全文
posted @ 2020-11-23 12:33 fndefbwefsowpvqfx 阅读(144) 评论(0) 推荐(0) 编辑
摘要: https://itanium-cxx-abi.github.io/cxx-abi/ Itanium C++ ABI Revised March 14, 2017 Introduction The Itanium C++ ABI is an ABI for C++. As an ABI, it gi 阅读全文
posted @ 2020-11-23 12:31 fndefbwefsowpvqfx 阅读(157) 评论(0) 推荐(0) 编辑
摘要: Programming Concepts Series: The Stack and the Heap Compiled and Interpreted Languages Concurrency Static vs. Dynamic Type Checking Type Introspection 阅读全文
posted @ 2020-11-23 11:40 fndefbwefsowpvqfx 阅读(75) 评论(0) 推荐(0) 编辑
摘要: Programming Concepts Series: The Stack and the Heap Compiled and Interpreted Languages Concurrency Static vs. Dynamic Type Checking Type Introspection 阅读全文
posted @ 2020-11-23 11:36 fndefbwefsowpvqfx 阅读(60) 评论(0) 推荐(0) 编辑
摘要: Programming Concepts Series: The Stack and the Heap Compiled and Interpreted Languages Concurrency Static vs. Dynamic Type Checking Type Introspection 阅读全文
posted @ 2020-11-23 11:32 fndefbwefsowpvqfx 阅读(102) 评论(0) 推荐(0) 编辑
摘要: Programming Concepts Series: The Stack and the Heap Compiled and Interpreted Languages Concurrency Static vs. Dynamic Type Checking Type Introspection 阅读全文
posted @ 2020-11-23 11:31 fndefbwefsowpvqfx 阅读(113) 评论(0) 推荐(0) 编辑
摘要: Programming Concepts Series: The Stack and the Heap Compiled and Interpreted Languages Concurrency Static vs. Dynamic Type Checking Type Introspection 阅读全文
posted @ 2020-11-23 11:30 fndefbwefsowpvqfx 阅读(90) 评论(0) 推荐(0) 编辑
摘要: Programming Concepts Series: The Stack and the Heap Compiled and Interpreted Languages Concurrency Static vs. Dynamic Type Checking Type Introspection 阅读全文
posted @ 2020-11-23 11:29 fndefbwefsowpvqfx 阅读(109) 评论(0) 推荐(0) 编辑
摘要: https://thecodeboss.dev/2014/10/programming-concepts-the-stack-and-the-heap/ Programming Concepts Series: The Stack and the Heap Compiled and Interpre 阅读全文
posted @ 2020-11-23 11:27 fndefbwefsowpvqfx 阅读(81) 评论(0) 推荐(0) 编辑