Simplify Code with “if constexpr” in C++17
Introduction 程序设计需要不断地做抉择,抉择便需用到逻辑分派。 Modern C++ 中,有多种方式完成这个任务,例如 Run-time if,Tag dispatching,SFINAE… Continue Reading Simplify Code with “if constexpr” in C++17
Dive deep into the C++ core, and discover more!
Introduction 程序设计需要不断地做抉择,抉择便需用到逻辑分派。 Modern C++ 中,有多种方式完成这个任务,例如 Run-time if,Tag dispatching,SFINAE… Continue Reading Simplify Code with “if constexpr” in C++17