idiom(2)
-
More C++ Idioms (55. Named Parameter)
출처: https://en.wikibooks.org/wiki/More_C%2B%2B_Idioms/Named_Parameter More C++ Idioms/Named Parameter - Wikibooks, open books for an open worldFrom Wikibooks, open books for an open world Jump to navigation Jump to search Simulate named (key-value pair) parameter passing style found in other languages instead of position-based parameters. Method chaining, Fluent interface When a function takes m..
2024.08.11 -
More C++ Idioms (44. Int-To-Type, Int2Type)
https://en.wikibooks.org/wiki/More_C%2B%2B_Idioms/Int-To-Type More C++ Idioms/Int-To-Type - Wikibooks, open books for an open worldFrom Wikibooks, open books for an open world Jump to navigation Jump to search To treat an integral constant as a type at compile-time. To achieve static call dispatch based on constant integral values. Integral constant wrappers Function overloading in C+en.wikibook..
2024.08.05