C++20: An (Almost) Complete Overview
Immediate Functions – consteval constinit Class Enums and using Directive Text Formatting Math Constants std::source_location [[nodiscard(reason)]] Bit Operations Small Hearts: return "Hearts"; case Spades: return "Spades"; } }75 Text Formatting (std::format) Currently, two ways to format text in C++: I/O streams Safe and extensible Hard to read, hard of << insertion operators Separation of format string and arguments Easy to localize76 Text Formatting (std::format) New in C++20: std::format() Safe and extensible Easy to read, no series 0 码力 | 85 页 | 512.18 KB | 5 月前3Improving Our Safety With a Quantities and Units Library
point) – systems of quantities – systems of units – the affine space – highly adjustable text-output formatting – scalar, vector, and tensor quantities – natural units systems CppCon 2024: Improving point) – systems of quantities – systems of units – the affine space – highly adjustable text-output formatting – scalar, vector, and tensor quantities – natural units systems • Easy to extend CppCon creation helpers • Support for all ISQ quantities • Faster than lightspeed constants • Powerful text formatting • Much more ... CppCon 2024: Improving our safety with a quantities and units library and0 码力 | 207 页 | 6.93 MB | 5 月前3Connecting User And Library Code
global space works (https://godbolt.org/z/6PdebYn1K) (*) 5. https://fmt.dev/latest/api.html#formatting-user-defined-types7 Slides1. Namespaces ordering: https://godbolt.org/z/qvMcYn1Kd (if in both the 2. https://stackoverflow.com/questions/56795676/hidden-friends- declarations-and- definitions#:~:text=Hidden%20friends%20need%20to%20be,of%20the%2 0definition%20of%20class. 3. Example: Operator <<: https://godbolt0 码力 | 58 页 | 18.82 MB | 5 月前3What's New in Visual Studio for C++ Developers
padding of data members oInteractive VisualizationBoost your Productivity Image hover preview Text formatting optionsBoost your Productivity Case-preserving find and replace AI-Powered Rename SuggestionsAnnouncing0 码力 | 46 页 | 4.07 MB | 5 月前3Conan 1.20 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . 283 14.21 How to capture package version from text or build files . . . . . . . . . . . . . . . . . . . . . . . . . 283 14.22 How to use Conan as other easily be registered in the [users] section, by defining a pair of login: password for each one. Plain text passwords are used at the moment, but as the server is on-premises (behind firewall), you just need means that expression will be evaluated as a version range. Otherwise, it will be understood as plain text, so requires = "Pkg/version@user/stable" always means to use the version version literally. There0 码力 | 611 页 | 4.89 MB | 1 年前3Conan 1.19 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . 283 14.21 How to capture package version from text or build files . . . . . . . . . . . . . . . . . . . . . . . . . 283 14.22 How to use Conan as other easily be registered in the [users] section, by defining a pair of login: password for each one. Plain text passwords are used at the moment, but as the server is on-premises (behind firewall), you just need means that expression will be evaluated as a version range. Otherwise, it will be understood as plain text, so requires = "Pkg/version@user/stable" always means to use the version version literally. There0 码力 | 609 页 | 4.88 MB | 1 年前3Conan 1.24 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . 295 15.22 How to capture package version from text or build files . . . . . . . . . . . . . . . . . . . . . . . . . 296 15.23 How to use Conan as other x) Conan will store a modified version of the conanfile.py with the values of the fields in plain text: import os from conans import ConanFile, CMake, tools class HelloConan(ConanFile): scm = { "type": easily be registered in the [users] section, by defining a pair of login: password for each one. Plain text passwords are used at the moment, but as the server is on-premises (behind firewall), you just need0 码力 | 647 页 | 5.31 MB | 1 年前3Conan 1.25 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . 301 15.22 How to capture package version from text or build files . . . . . . . . . . . . . . . . . . . . . . . . . 302 15.23 How to use Conan as other x) Conan will store a modified version of the conanfile.py with the values of the fields in plain text: import os from conans import ConanFile, CMake, tools class HelloConan(ConanFile): scm = { "type": easily be registered in the [users] section, by defining a pair of login: password for each one. Plain text passwords are used at the moment, but as the server is on-premises (behind firewall), you just need0 码力 | 655 页 | 5.45 MB | 1 年前3Conan 1.26 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . 305 15.22 How to capture package version from text or build files . . . . . . . . . . . . . . . . . . . . . . . . . 306 15.23 How to use Conan as other x) Conan will store a modified version of the conanfile.py with the values of the fields in plain text: import os from conans import ConanFile, CMake, tools class HelloConan(ConanFile): scm = { "type": easily be registered in the [users] section, by defining a pair of login: password for each one. Plain text passwords are used at the moment, but as the server is on-premises (behind firewall), you just need0 码力 | 669 页 | 5.51 MB | 1 年前3Conan 1.22 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . 293 15.22 How to capture package version from text or build files . . . . . . . . . . . . . . . . . . . . . . . . . 293 15.23 How to use Conan as other x) Conan will store a modified version of the conanfile.py with the values of the fields in plain text: import os from conans import ConanFile, CMake, tools class HelloConan(ConanFile): scm = { "type": easily be registered in the [users] section, by defining a pair of login: password for each one. Plain text passwords are used at the moment, but as the server is on-premises (behind firewall), you just need0 码力 | 629 页 | 4.98 MB | 1 年前3
共 149 条
- 1
- 2
- 3
- 4
- 5
- 6
- 15