 Back To Basics: Functional Programming in C++generator Transforming ranges: transform, filter Combining ranges: cartesian_product, zip, concat Splitting ranges: split, chunk_by Jonathan Müller — @foonathan Back to Basics: Functional Programming in generator Transforming ranges: transform, filter Combining ranges: cartesian_product, zip, concat Splitting ranges: split, chunk_by Joining ranges: join, join_with Jonathan Müller — @foonathan Back to Basics: generator Transforming ranges: transform, filter Combining ranges: cartesian_product, zip, concat Splitting ranges: split, chunk_by Joining ranges: join, join_with Know your algorithms: Jonathan Müller0 码力 | 178 页 | 918.67 KB | 6 月前3 Back To Basics: Functional Programming in C++generator Transforming ranges: transform, filter Combining ranges: cartesian_product, zip, concat Splitting ranges: split, chunk_by Jonathan Müller — @foonathan Back to Basics: Functional Programming in generator Transforming ranges: transform, filter Combining ranges: cartesian_product, zip, concat Splitting ranges: split, chunk_by Joining ranges: join, join_with Jonathan Müller — @foonathan Back to Basics: generator Transforming ranges: transform, filter Combining ranges: cartesian_product, zip, concat Splitting ranges: split, chunk_by Joining ranges: join, join_with Know your algorithms: Jonathan Müller0 码力 | 178 页 | 918.67 KB | 6 月前3
 Monadic Operations in Modern C++: A Practical ApproachDo something with the widget ... } else { const auto error = widgetBox.error(); log("Cannot get a new widget {}: {}.", widgetBox.value(), error); } } 22How do we handle this? 23Monadic getWidget(); widgetBox.has_value()) { ./ ... } else { log(widgetBox.error()); } getWidget().and_then(.* ... ./).or_else([](const auto& error){ log(error); });Monadic operations: transfrom_error 27 if parts of the existing code base ● There will be integration with 3rd-party libraries ● …Try splitting functional-style code from the rest 36 ● A part where we use “monadics” and apply the best practices0 码力 | 61 页 | 411.49 KB | 6 月前3 Monadic Operations in Modern C++: A Practical ApproachDo something with the widget ... } else { const auto error = widgetBox.error(); log("Cannot get a new widget {}: {}.", widgetBox.value(), error); } } 22How do we handle this? 23Monadic getWidget(); widgetBox.has_value()) { ./ ... } else { log(widgetBox.error()); } getWidget().and_then(.* ... ./).or_else([](const auto& error){ log(error); });Monadic operations: transfrom_error 27 if parts of the existing code base ● There will be integration with 3rd-party libraries ● …Try splitting functional-style code from the rest 36 ● A part where we use “monadics” and apply the best practices0 码力 | 61 页 | 411.49 KB | 6 月前3
 Unraveling string_view: Basics, Benefits, and Best Practicesstring_view does not allocate memory can be used to gain performance in some scenarios. E.g., String splitting. 7 vector Unraveling string_view: Basics, Benefits, and Best Practicesstring_view does not allocate memory can be used to gain performance in some scenarios. E.g., String splitting. 7 vector- split_string(const string& str, char delim) { vector - splits; size_t string_view does not allocate memory can be used to gain performance in some scenarios. E.g., String splitting. 8 Performance benefits9 namespace std { template - > 0 码力 | 61 页 | 1.11 MB | 6 月前3
 Conan 1.23 Documentationcan change it safely anytime (in fact it is a good practice). The change will just force users to log in again. jwt_expire_minutes is the amount of time that users remain logged-in within the client without Reference/Tools/environment_append 10.6 Logging 10.6.1 How to log and debug a conan execution You can use the CONAN_TRACE_FILE environment variable to log and debug several Conan command execution. Set the CONAN_TRACE_FILE environment variable pointing to a log file. Example: export CONAN_TRACE_FILE=/tmp/conan_trace.log # Or SET in windows conan install zlib/1.2.8@lasote/stable The /tmp/conan_trace.log file: {"_action": "COMMAND"0 码力 | 637 页 | 5.04 MB | 1 年前3 Conan 1.23 Documentationcan change it safely anytime (in fact it is a good practice). The change will just force users to log in again. jwt_expire_minutes is the amount of time that users remain logged-in within the client without Reference/Tools/environment_append 10.6 Logging 10.6.1 How to log and debug a conan execution You can use the CONAN_TRACE_FILE environment variable to log and debug several Conan command execution. Set the CONAN_TRACE_FILE environment variable pointing to a log file. Example: export CONAN_TRACE_FILE=/tmp/conan_trace.log # Or SET in windows conan install zlib/1.2.8@lasote/stable The /tmp/conan_trace.log file: {"_action": "COMMAND"0 码力 | 637 页 | 5.04 MB | 1 年前3
 Conan 1.24 Documentationcan change it safely anytime (in fact it is a good practice). The change will just force users to log in again. jwt_expire_minutes is the amount of time that users remain logged-in within the client without Reference/Tools/environment_append 10.6 Logging 10.6.1 How to log and debug a conan execution You can use the CONAN_TRACE_FILE environment variable to log and debug several Conan command execution. Set the CONAN_TRACE_FILE environment variable pointing to a log file. Example: export CONAN_TRACE_FILE=/tmp/conan_trace.log # Or SET in windows conan install zlib/1.2.8@lasote/stable The /tmp/conan_trace.log file: {"_action": "COMMAND"0 码力 | 647 页 | 5.31 MB | 1 年前3 Conan 1.24 Documentationcan change it safely anytime (in fact it is a good practice). The change will just force users to log in again. jwt_expire_minutes is the amount of time that users remain logged-in within the client without Reference/Tools/environment_append 10.6 Logging 10.6.1 How to log and debug a conan execution You can use the CONAN_TRACE_FILE environment variable to log and debug several Conan command execution. Set the CONAN_TRACE_FILE environment variable pointing to a log file. Example: export CONAN_TRACE_FILE=/tmp/conan_trace.log # Or SET in windows conan install zlib/1.2.8@lasote/stable The /tmp/conan_trace.log file: {"_action": "COMMAND"0 码力 | 647 页 | 5.31 MB | 1 年前3
 Conan 1.25 Documentationcan change it safely anytime (in fact it is a good practice). The change will just force users to log in again. jwt_expire_minutes is the amount of time that users remain logged-in within the client without Reference/Tools/environment_append 10.6 Logging 10.6.1 How to log and debug a conan execution You can use the CONAN_TRACE_FILE environment variable to log and debug several Conan command execution. Set the CONAN_TRACE_FILE environment variable pointing to a log file. Example: export CONAN_TRACE_FILE=/tmp/conan_trace.log # Or SET in windows conan install zlib/1.2.8@lasote/stable The /tmp/conan_trace.log file: {"_action": "COMMAND"0 码力 | 655 页 | 5.45 MB | 1 年前3 Conan 1.25 Documentationcan change it safely anytime (in fact it is a good practice). The change will just force users to log in again. jwt_expire_minutes is the amount of time that users remain logged-in within the client without Reference/Tools/environment_append 10.6 Logging 10.6.1 How to log and debug a conan execution You can use the CONAN_TRACE_FILE environment variable to log and debug several Conan command execution. Set the CONAN_TRACE_FILE environment variable pointing to a log file. Example: export CONAN_TRACE_FILE=/tmp/conan_trace.log # Or SET in windows conan install zlib/1.2.8@lasote/stable The /tmp/conan_trace.log file: {"_action": "COMMAND"0 码力 | 655 页 | 5.45 MB | 1 年前3
 Conan 1.26 Documentationcan change it safely anytime (in fact it is a good practice). The change will just force users to log in again. jwt_expire_minutes is the amount of time that users remain logged-in within the client without Reference/Tools/environment_append 10.6 Logging 10.6.1 How to log and debug a conan execution You can use the CONAN_TRACE_FILE environment variable to log and debug several Conan command execution. Set the CONAN_TRACE_FILE environment variable pointing to a log file. Example: export CONAN_TRACE_FILE=/tmp/conan_trace.log # Or SET in windows conan install zlib/1.2.8@lasote/stable The /tmp/conan_trace.log file: {"_action": "COMMAND"0 码力 | 669 页 | 5.51 MB | 1 年前3 Conan 1.26 Documentationcan change it safely anytime (in fact it is a good practice). The change will just force users to log in again. jwt_expire_minutes is the amount of time that users remain logged-in within the client without Reference/Tools/environment_append 10.6 Logging 10.6.1 How to log and debug a conan execution You can use the CONAN_TRACE_FILE environment variable to log and debug several Conan command execution. Set the CONAN_TRACE_FILE environment variable pointing to a log file. Example: export CONAN_TRACE_FILE=/tmp/conan_trace.log # Or SET in windows conan install zlib/1.2.8@lasote/stable The /tmp/conan_trace.log file: {"_action": "COMMAND"0 码力 | 669 页 | 5.51 MB | 1 年前3
 Conan 1.27 Documentationcan change it safely anytime (in fact it is a good practice). The change will just force users to log in again. jwt_expire_minutes is the amount of time that users remain logged-in within the client without Reference/Tools/environment_append 10.6 Logging 10.6.1 How to log and debug a conan execution You can use the CONAN_TRACE_FILE environment variable to log and debug several Conan command execution. Set the CONAN_TRACE_FILE environment variable pointing to a log file. Example: export CONAN_TRACE_FILE=/tmp/conan_trace.log # Or SET in windows conan install zlib/1.2.8@lasote/stable The /tmp/conan_trace.log file: {"_action": "COMMAND"0 码力 | 681 页 | 5.55 MB | 1 年前3 Conan 1.27 Documentationcan change it safely anytime (in fact it is a good practice). The change will just force users to log in again. jwt_expire_minutes is the amount of time that users remain logged-in within the client without Reference/Tools/environment_append 10.6 Logging 10.6.1 How to log and debug a conan execution You can use the CONAN_TRACE_FILE environment variable to log and debug several Conan command execution. Set the CONAN_TRACE_FILE environment variable pointing to a log file. Example: export CONAN_TRACE_FILE=/tmp/conan_trace.log # Or SET in windows conan install zlib/1.2.8@lasote/stable The /tmp/conan_trace.log file: {"_action": "COMMAND"0 码力 | 681 页 | 5.55 MB | 1 年前3
 Conan 1.28 Documentationcan change it safely anytime (in fact it is a good practice). The change will just force users to log in again. jwt_expire_minutes is the amount of time that users remain logged-in within the client without Reference/Tools/environment_append 10.6 Logging 10.6.1 How to log and debug a conan execution You can use the CONAN_TRACE_FILE environment variable to log and debug several Conan command execution. Set the CONAN_TRACE_FILE environment variable pointing to a log file. Example: export CONAN_TRACE_FILE=/tmp/conan_trace.log # Or SET in windows conan install zlib/1.2.8@lasote/stable The /tmp/conan_trace.log file: {"_action": "COMMAND"0 码力 | 699 页 | 5.39 MB | 1 年前3 Conan 1.28 Documentationcan change it safely anytime (in fact it is a good practice). The change will just force users to log in again. jwt_expire_minutes is the amount of time that users remain logged-in within the client without Reference/Tools/environment_append 10.6 Logging 10.6.1 How to log and debug a conan execution You can use the CONAN_TRACE_FILE environment variable to log and debug several Conan command execution. Set the CONAN_TRACE_FILE environment variable pointing to a log file. Example: export CONAN_TRACE_FILE=/tmp/conan_trace.log # Or SET in windows conan install zlib/1.2.8@lasote/stable The /tmp/conan_trace.log file: {"_action": "COMMAND"0 码力 | 699 页 | 5.39 MB | 1 年前3
 Conan 1.29 Documentationcan change it safely anytime (in fact it is a good practice). The change will just force users to log in again. jwt_expire_minutes is the amount of time that users remain logged-in within the client without Reference/Tools/environment_append 10.6 Logging 10.6.1 How to log and debug a conan execution You can use the CONAN_TRACE_FILE environment variable to log and debug several Conan command execution. Set the CONAN_TRACE_FILE environment variable pointing to a log file. Example: export CONAN_TRACE_FILE=/tmp/conan_trace.log # Or SET in windows conan install zlib/1.2.8@lasote/stable The /tmp/conan_trace.log file: {"_action": "COMMAND"0 码力 | 703 页 | 5.41 MB | 1 年前3 Conan 1.29 Documentationcan change it safely anytime (in fact it is a good practice). The change will just force users to log in again. jwt_expire_minutes is the amount of time that users remain logged-in within the client without Reference/Tools/environment_append 10.6 Logging 10.6.1 How to log and debug a conan execution You can use the CONAN_TRACE_FILE environment variable to log and debug several Conan command execution. Set the CONAN_TRACE_FILE environment variable pointing to a log file. Example: export CONAN_TRACE_FILE=/tmp/conan_trace.log # Or SET in windows conan install zlib/1.2.8@lasote/stable The /tmp/conan_trace.log file: {"_action": "COMMAND"0 码力 | 703 页 | 5.41 MB | 1 年前3
共 145 条
- 1
- 2
- 3
- 4
- 5
- 6
- 15














