 Why Loops Endwidening Why Loops Endwidening- & ab, const widening - & cd ) interface { extend_stability ab, cd; claim ab <= cd; claim implementation; auto xy = ab; while ( xy != cd ) { claim xy < cd; ++xy; } }template < integer_kind widening const widening interface { extend_stability ab, cd; claim ab <= cd; claim implementation; auto xy = ab; while ( xy != cd ) { claim xy < cd; ++xy; } } void counting_theorem( const int b, const widening - & ab, const widening - & cd ) interface { extend_stability ab, cd; claim ab <= cd; claim implementation; auto xy = ab; while ( xy != cd ) { claim xy < cd; ++xy; } } ?width template < integer_kind 0 码力 | 134 页 | 1.30 MB | 6 月前3
 Building a Coroutine-Based Job System Without Standard Librarytask Building a Coroutine-Based Job System Without Standard Librarytask- sum4(int a, int b, int c, int d) { int ab = co_await sum(a, b); int cd = co_await sum(c, d); int result = co_await sum(ab, cd); co_return result; } Okay, time for the big boss. The major mind struggle together. And as we all know, if we want to add a, b, c, d together, we need to add ab together, add cd together and add their sums together. 67 void __sum_resume(void* ptr); struct __sum_frame { __sum_frame(int task - sum4(int a, int b, int c, int d) { int ab = co_await sum(a, b); int cd = co_await sum(c, d); int result = co_await sum(ab, cd); co_return result; } Customization point - How a compiler may work 0 码力 | 120 页 | 2.20 MB | 6 月前3
 Conan 1.4 Documentationthe git repository and install its requirements: $ git clone https://github.com/conan-io/conan.git $ cd conan $ pip install -r conans/requirements.txt Create a script to run Conan and add it to your PATH 4.1 A Timer using POCO libraries First, let’s create a folder for our project: $ mkdir mytimer $ cd mytimer Note: If your code is in a GitHub repository you can simply clone the project, instead of requirements (pointing to the parent directory, as it is where the conanfile.txt is): $ mkdir build && cd build $ conan install .. This conan install command will download the binary package required for0 码力 | 421 页 | 2.84 MB | 1 年前3 Conan 1.4 Documentationthe git repository and install its requirements: $ git clone https://github.com/conan-io/conan.git $ cd conan $ pip install -r conans/requirements.txt Create a script to run Conan and add it to your PATH 4.1 A Timer using POCO libraries First, let’s create a folder for our project: $ mkdir mytimer $ cd mytimer Note: If your code is in a GitHub repository you can simply clone the project, instead of requirements (pointing to the parent directory, as it is where the conanfile.txt is): $ mkdir build && cd build $ conan install .. This conan install command will download the binary package required for0 码力 | 421 页 | 2.84 MB | 1 年前3
 Conan 1.5 Documentationthe git repository and install its requirements: $ git clone https://github.com/conan-io/conan.git $ cd conan $ pip install -r conans/requirements.txt Create a script to run Conan and add it to your PATH 4.1 A Timer using POCO libraries First, let’s create a folder for our project: $ mkdir mytimer $ cd mytimer Note: If your code is in a GitHub repository you can simply clone the project, instead of requirements (pointing to the parent directory, as it is where the conanfile.txt is): $ mkdir build && cd build $ conan install .. This conan install command will download the binary package required for0 码力 | 422 页 | 2.85 MB | 1 年前3 Conan 1.5 Documentationthe git repository and install its requirements: $ git clone https://github.com/conan-io/conan.git $ cd conan $ pip install -r conans/requirements.txt Create a script to run Conan and add it to your PATH 4.1 A Timer using POCO libraries First, let’s create a folder for our project: $ mkdir mytimer $ cd mytimer Note: If your code is in a GitHub repository you can simply clone the project, instead of requirements (pointing to the parent directory, as it is where the conanfile.txt is): $ mkdir build && cd build $ conan install .. This conan install command will download the binary package required for0 码力 | 422 页 | 2.85 MB | 1 年前3
 Conan 1.6 Documentationthe git repository and install its requirements: $ git clone https://github.com/conan-io/conan.git $ cd conan $ pip install -r conans/requirements.txt Create a script to run Conan and add it to your PATH 3.1 A Timer using POCO libraries First, let’s create a folder for our project: $ mkdir mytimer $ cd mytimer Note: If your code is in a GitHub repository you can simply clone the project, instead of requirements (pointing to the parent directory, as it is where the conanfile.txt is): $ mkdir build && cd build $ conan install .. This conan install command will download the binary package required for0 码力 | 428 页 | 2.87 MB | 1 年前3 Conan 1.6 Documentationthe git repository and install its requirements: $ git clone https://github.com/conan-io/conan.git $ cd conan $ pip install -r conans/requirements.txt Create a script to run Conan and add it to your PATH 3.1 A Timer using POCO libraries First, let’s create a folder for our project: $ mkdir mytimer $ cd mytimer Note: If your code is in a GitHub repository you can simply clone the project, instead of requirements (pointing to the parent directory, as it is where the conanfile.txt is): $ mkdir build && cd build $ conan install .. This conan install command will download the binary package required for0 码力 | 428 页 | 2.87 MB | 1 年前3
 Conan 1.7 Documentationthe git repository and install its requirements: $ git clone https://github.com/conan-io/conan.git $ cd conan $ pip install -r conans/requirements.txt Create a script to run Conan and add it to your PATH CMake. 3.1 A Timer Using POCO Libraries 1. Let’s create a folder for our project: $ mkdir mytimer $ cd mytimer Note: If your code is in a GitHub repository, simply clone the project instead of creating requirements (pointing to the parent directory, where the conanfile.txt is located): $ mkdir build && cd build $ conan install .. Attention: • It is strongly recommended to review the generated default0 码力 | 433 页 | 2.95 MB | 1 年前3 Conan 1.7 Documentationthe git repository and install its requirements: $ git clone https://github.com/conan-io/conan.git $ cd conan $ pip install -r conans/requirements.txt Create a script to run Conan and add it to your PATH CMake. 3.1 A Timer Using POCO Libraries 1. Let’s create a folder for our project: $ mkdir mytimer $ cd mytimer Note: If your code is in a GitHub repository, simply clone the project instead of creating requirements (pointing to the parent directory, where the conanfile.txt is located): $ mkdir build && cd build $ conan install .. Attention: • It is strongly recommended to review the generated default0 码力 | 433 页 | 2.95 MB | 1 年前3
 Conan 1.3 Documentationthe git repository and install its requirements: $ git clone https://github.com/conan-io/conan.git $ cd conan $ pip install -r conans/requirements.txt Create a script to run Conan and add it to your PATH 4.1 A Timer using POCO libraries First, let’s create a folder for our project: $ mkdir mytimer $ cd mytimer Note: If your code is in a GitHub repository you can simply clone the project, instead of requirements (pointing to the parent directory, as it is where the conanfile.txt is): $ mkdir build && cd build $ conan install .. This conan install command will download the binary package required for0 码力 | 397 页 | 2.77 MB | 1 年前3 Conan 1.3 Documentationthe git repository and install its requirements: $ git clone https://github.com/conan-io/conan.git $ cd conan $ pip install -r conans/requirements.txt Create a script to run Conan and add it to your PATH 4.1 A Timer using POCO libraries First, let’s create a folder for our project: $ mkdir mytimer $ cd mytimer Note: If your code is in a GitHub repository you can simply clone the project, instead of requirements (pointing to the parent directory, as it is where the conanfile.txt is): $ mkdir build && cd build $ conan install .. This conan install command will download the binary package required for0 码力 | 397 页 | 2.77 MB | 1 年前3
 Conan 1.19 Documentationthe git repository and install its requirements: $ git clone https://github.com/conan-io/conan.git $ cd conan $ pip install -r conans/requirements.txt Create a script to run Conan and add it to your PATH the folder and sources with this command: $ git clone https://github.com/conan-io/examples.git && cd examples/libraries/poco/md5 1. Create the following source file inside a folder. This will be the ˓→libcxx to C++11 ABI You will find more information in How to manage the GCC >= 5 ABI. $ mkdir build && cd build $ conan install .. ... Requirements OpenSSL/1.0.2o@conan/stable from 'conan-center' - Downloaded0 码力 | 609 页 | 4.88 MB | 1 年前3 Conan 1.19 Documentationthe git repository and install its requirements: $ git clone https://github.com/conan-io/conan.git $ cd conan $ pip install -r conans/requirements.txt Create a script to run Conan and add it to your PATH the folder and sources with this command: $ git clone https://github.com/conan-io/examples.git && cd examples/libraries/poco/md5 1. Create the following source file inside a folder. This will be the ˓→libcxx to C++11 ABI You will find more information in How to manage the GCC >= 5 ABI. $ mkdir build && cd build $ conan install .. ... Requirements OpenSSL/1.0.2o@conan/stable from 'conan-center' - Downloaded0 码力 | 609 页 | 4.88 MB | 1 年前3
 Conan 1.20 Documentationthe git repository and install its requirements: $ git clone https://github.com/conan-io/conan.git $ cd conan $ pip install -r conans/requirements.txt Create a script to run Conan and add it to your PATH the folder and sources with this command: $ git clone https://github.com/conan-io/examples.git && cd examples/libraries/poco/md5 1. Create the following source file inside a folder. This will be the ˓→libcxx to C++11 ABI You will find more information in How to manage the GCC >= 5 ABI. $ mkdir build && cd build $ conan install .. ... Requirements OpenSSL/1.0.2o@conan/stable from 'conan-center' - Downloaded0 码力 | 611 页 | 4.89 MB | 1 年前3 Conan 1.20 Documentationthe git repository and install its requirements: $ git clone https://github.com/conan-io/conan.git $ cd conan $ pip install -r conans/requirements.txt Create a script to run Conan and add it to your PATH the folder and sources with this command: $ git clone https://github.com/conan-io/examples.git && cd examples/libraries/poco/md5 1. Create the following source file inside a folder. This will be the ˓→libcxx to C++11 ABI You will find more information in How to manage the GCC >= 5 ABI. $ mkdir build && cd build $ conan install .. ... Requirements OpenSSL/1.0.2o@conan/stable from 'conan-center' - Downloaded0 码力 | 611 页 | 4.89 MB | 1 年前3
 Conan 1.8 Documentationthe git repository and install its requirements: $ git clone https://github.com/conan-io/conan.git $ cd conan $ pip install -r conans/requirements.txt Create a script to run Conan and add it to your PATH com/conan-community/poco-md5-example.git 1. Let’s create a folder for our project: $ mkdir poco-md5-example $ cd poco-md5-example 2. Create the following source file inside this folder. This will be the source file ˓→libcxx to C++11 ABI You will find more information in How to manage the GCC >= 5 ABI. $ mkdir build && cd build $ conan install .. ... Requirements OpenSSL/1.0.2o@conan/stable from 'conan-center' - Downloaded0 码力 | 458 页 | 3.03 MB | 1 年前3 Conan 1.8 Documentationthe git repository and install its requirements: $ git clone https://github.com/conan-io/conan.git $ cd conan $ pip install -r conans/requirements.txt Create a script to run Conan and add it to your PATH com/conan-community/poco-md5-example.git 1. Let’s create a folder for our project: $ mkdir poco-md5-example $ cd poco-md5-example 2. Create the following source file inside this folder. This will be the source file ˓→libcxx to C++11 ABI You will find more information in How to manage the GCC >= 5 ABI. $ mkdir build && cd build $ conan install .. ... Requirements OpenSSL/1.0.2o@conan/stable from 'conan-center' - Downloaded0 码力 | 458 页 | 3.03 MB | 1 年前3
共 102 条
- 1
- 2
- 3
- 4
- 5
- 6
- 11














