参考链接 https://www.freecodecamp.org/news/solid-principles-explained-in-plain-english/ https://www.cnblogs.com/gaochundong/p/liskov_substitution_principle.html https://davesquared.net/2009/01/introduction-to-solid-principles-of-oo.html http://butunclebob.com/ArticleS.UncleBob.PrinciplesOfOod https://www.jianshu.com/p/3875283e26c7 https:...
\main.cpp, line 10 如果new出来的对象是Rectangle,则程序能够正常执行。如果new出来的是Square则会进入断言。从而Square不能代替Rectangle,所以不符合LSP原则,实际上Square并不是Rectangle的子类。 正方形是长方形,但是他们的行为并不一样,所谓的行为,就是抽象出来的东西。正方形只要有一个设置边长的方法就行了,而...
还是那句话任何基类可以出现的地方,子类一定可以出现,所以在创建Rectangle对象指针的时候,这里其实给的是子类的对象,最终代码运行断言报错。 Assertion failed: rect->GetArea() == 10,file.\\main.cpp,line10 如果new出来的对象是Rectangle,则程序能够正常执行。如果new出来的是Square则会进入断言。从而Square不能代替...
solid_cpp_talk何必**太多 上传 Solid C++ Talk Slides for the talk "SOLID Principles in Modern C++" This slide is designed to provide a detailed explanation of the SOLID principles in modern C++. The slide will cover each principle and its importance in modern C++ development. 1. Single ...
General principles of pharmaceutical solid polymorphism: A supramolecular perspective. Adv Drug Deliv Rev. 2004;56(3):241-274.Rodriguez-Spong, B.; Price, C.P.; Jayasankar, A.; Matzger, A.J.; Rodriguez-Hornedo, N. General principles of pharmaceutical solid polymorphism: a supramolecular ...
The study was conducted according to the principles of Good Clinical Practice and the Declaration of Helsinki, and approvals from the Country Competent Authority and Central Ethics Committee were obtained before starting any study-related procedures. The study was registered according to country-specific...
Here we report for the first time that the inclusion of (Zr, Ce)O2 solid solution as the supporting material can significantly improve the anti-CO-poisoning as well as the activity of Pd/C catalyst for ethylene glycol electro-oxidation in KOH medium. In particular, the physical origin of ...
Xingli Cun,Yuting Yang,Yayuan Liu, Huile Gao & Qin He [D]-H6L9, as a pH-responsive anti-microbial peptide (AMP), has been evidenced by us to be an excellent choice in tumor microenvironment-responsive delivery as it could render liposomes responsive to the acidified tumor micro...
in a wax matrix in order to sustain drug release (1,2). In the more recent years these excipients were successfully used in oral drug delivery systems to enhance the bioavailability of poorly aqueous soluble drugs (3–5). Furthermore, taste masking and the improvement of swallowability have ...
et al. Avoiding bias effects in NMR experiments for heteronuclear dipole-dipole coupling determinations: principles and application to organic semiconductor materials. Chemphyschem 14, 3146–3155 (2013). 65. Barré, P., Zschörnig, O., Arnold, K. & Huster, D. Structural and dynamical changes ...