文件名称:Packt C++ 17 STL Cookbook.2017
文件大小:11.26MB
文件格式:PDF
更新时间:2021-07-21 18:03:32
c++ stl
The New C++17 Features In this chapter, we will cover thefollowing recipes: Using structured bindings to unpack bundled return values Limiting variable scopes to if and switch statements Profiting from the new bracket initializer rules Letting the constructor automatically deduce the resulting template class type Simplifying compile-time decisions with constexpr-if Enabling header-only libraries with inline variables Implementing handy helper functions with fold expressions