Advanced Metaprogramming in Classic C++

This book is not focused on results, but on the path—the steps and motivations that lead to a project’s implementation. Many examples derive from production code. However, in a book, problems must look as easy and evident as possible, sometimes even more. In practice, they are never this way. So...

Mô tả đầy đủ

Đã lưu trong:
Chi tiết về thư mục
Tác giả chính: Gennaro, Davide Di
Định dạng: Sách
Ngôn ngữ:English
Được phát hành: Apress 2015
Những chủ đề:
C++
Truy cập trực tuyến:https://scholar.dlu.edu.vn/thuvienso/handle/DLU123456789/57385
Các nhãn: Thêm thẻ
Không có thẻ, Là người đầu tiên thẻ bản ghi này!
Thư viện lưu trữ: Thư viện Trường Đại học Đà Lạt
Miêu tả
Tóm tắt:This book is not focused on results, but on the path—the steps and motivations that lead to a project’s implementation. Many examples derive from production code. However, in a book, problems must look as easy and evident as possible, sometimes even more. In practice, they are never this way. So for illustration purposes, the source code is unquestionably sub-optimal and oversimplified. Oversimplification means partial or full omission of implementation details, special cases, namespaces, system headers, compiler bugs, and so on. The most advanced programming technique is hardly an advantage if it crashes the company’s official compiler. In short, these details are important, as they make the difference between a curious prototype and a useful implementation. In addition, code has been streamlined to satisfy visual constraints. In particular, indentation is systematically inconsistent, some function bodies have been removed, names may be shorter than necessary, and macros have been introduced for the sole purpose of shortening the text.