{"sha":"c9d5de0b2ab5ef6b16bfee1d9e7e83a28246ae1f","node_id":"MDY6Q29tbWl0MzU2ODEzNzY6YzlkNWRlMGIyYWI1ZWY2YjE2YmZlZTFkOWU3ZTgzYTI4MjQ2YWUxZg==","commit":{"author":{"name":"Felix Petriconi","email":"FelixPetriconi@users.noreply.github.com","date":"2021-02-01T20:03:13Z"},"committer":{"name":"GitHub","email":"noreply@github.com","date":"2021-02-01T20:03:13Z"},"message":"Merge pull request #356 from stlab/develop\n\n1.5.6 release","tree":{"sha":"c3428409cc9a59a87d32c0f20b24728fa6cf17cf","url":"https://api.github.com/repos/stlab/stlab/git/trees/c3428409cc9a59a87d32c0f20b24728fa6cf17cf"},"url":"https://api.github.com/repos/stlab/stlab/git/commits/c9d5de0b2ab5ef6b16bfee1d9e7e83a28246ae1f","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\nwsBcBAABCAAQBQJgGF6BCRBK7hj4Ov3rIwAAdHIIAEjA3Dp7JD1ztmq8quFW1Ko1\nisGPX/4NVso3F/r8rg7RlLdsiFEGp+kUcfuyoP0+efzrP7RYGUCbZXfE0U953vgq\n1CryRraWR7uSdCpBBYbtWZlBuN/91PwHcsMpYkLndKIorrIMQHF8CRZSw29s9MBa\nSUrvCW+7JUQG46xo95m19RzEx6B572BEqDRcHVN+QNko2TUk0pCUYqiI07xfh0rH\n6e5nTdTtKERgW3VYHbzFwqukqudSHzfUqDiC5g5ccdRqa8yuMsXqaT9zS9MrrIsA\nIPYNEKn7Kb7TlFbVU65wTfNBPxgyZGFrEvDPVJskmuiSIfk5hX/IR/DMI6xrX18=\n=Aj15\n-----END PGP SIGNATURE-----\n","payload":"tree c3428409cc9a59a87d32c0f20b24728fa6cf17cf\nparent 5a317e1a7dd9d4831bbaf963dc1f8df3ba46b2ff\nparent 57b415efd4e4b6c0e58a074c2937f968318fbbce\nauthor Felix Petriconi <FelixPetriconi@users.noreply.github.com> 1612209793 +0100\ncommitter GitHub <noreply@github.com> 1612209793 +0100\n\nMerge pull request #356 from stlab/develop\n\n1.5.6 release","verified_at":"2024-11-07T19:04:35Z"}},"url":"https://api.github.com/repos/stlab/stlab/commits/c9d5de0b2ab5ef6b16bfee1d9e7e83a28246ae1f","html_url":"https://github.com/stlab/stlab/commit/c9d5de0b2ab5ef6b16bfee1d9e7e83a28246ae1f","comments_url":"https://api.github.com/repos/stlab/stlab/commits/c9d5de0b2ab5ef6b16bfee1d9e7e83a28246ae1f/comments","author":{"login":"FelixPetriconi","id":612377,"node_id":"MDQ6VXNlcjYxMjM3Nw==","avatar_url":"https://avatars.githubusercontent.com/u/612377?v=4","gravatar_id":"","url":"https://api.github.com/users/FelixPetriconi","html_url":"https://github.com/FelixPetriconi","followers_url":"https://api.github.com/users/FelixPetriconi/followers","following_url":"https://api.github.com/users/FelixPetriconi/following{/other_user}","gists_url":"https://api.github.com/users/FelixPetriconi/gists{/gist_id}","starred_url":"https://api.github.com/users/FelixPetriconi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FelixPetriconi/subscriptions","organizations_url":"https://api.github.com/users/FelixPetriconi/orgs","repos_url":"https://api.github.com/users/FelixPetriconi/repos","events_url":"https://api.github.com/users/FelixPetriconi/events{/privacy}","received_events_url":"https://api.github.com/users/FelixPetriconi/received_events","type":"User","user_view_type":"public","site_admin":false},"committer":{"login":"web-flow","id":19864447,"node_id":"MDQ6VXNlcjE5ODY0NDQ3","avatar_url":"https://avatars.githubusercontent.com/u/19864447?v=4","gravatar_id":"","url":"https://api.github.com/users/web-flow","html_url":"https://github.com/web-flow","followers_url":"https://api.github.com/users/web-flow/followers","following_url":"https://api.github.com/users/web-flow/following{/other_user}","gists_url":"https://api.github.com/users/web-flow/gists{/gist_id}","starred_url":"https://api.github.com/users/web-flow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/web-flow/subscriptions","organizations_url":"https://api.github.com/users/web-flow/orgs","repos_url":"https://api.github.com/users/web-flow/repos","events_url":"https://api.github.com/users/web-flow/events{/privacy}","received_events_url":"https://api.github.com/users/web-flow/received_events","type":"User","user_view_type":"public","site_admin":false},"parents":[{"sha":"5a317e1a7dd9d4831bbaf963dc1f8df3ba46b2ff","url":"https://api.github.com/repos/stlab/stlab/commits/5a317e1a7dd9d4831bbaf963dc1f8df3ba46b2ff","html_url":"https://github.com/stlab/stlab/commit/5a317e1a7dd9d4831bbaf963dc1f8df3ba46b2ff"},{"sha":"57b415efd4e4b6c0e58a074c2937f968318fbbce","url":"https://api.github.com/repos/stlab/stlab/commits/57b415efd4e4b6c0e58a074c2937f968318fbbce","html_url":"https://github.com/stlab/stlab/commit/57b415efd4e4b6c0e58a074c2937f968318fbbce"}],"stats":{"total":42,"additions":22,"deletions":20},"files":[{"sha":"3e3ed1257f4b89861546265a8f516e1eb3b5f24e","filename":"CHANGES.md","status":"modified","additions":5,"deletions":0,"changes":5,"blob_url":"https://github.com/stlab/stlab/blob/c9d5de0b2ab5ef6b16bfee1d9e7e83a28246ae1f/CHANGES.md","raw_url":"https://github.com/stlab/stlab/raw/c9d5de0b2ab5ef6b16bfee1d9e7e83a28246ae1f/CHANGES.md","contents_url":"https://api.github.com/repos/stlab/stlab/contents/CHANGES.md?ref=c9d5de0b2ab5ef6b16bfee1d9e7e83a28246ae1f","patch":"@@ -1,9 +1,14 @@\n+## v1.5.6 - 2021 - February 1\n+ - Fixed issues\n+   = [#352]:(https://github.com/stlab/libraries/issues/352) Non portable 'warning' preprocessor command\n+   - [#354]:(https://github.com/stlab/libraries/issues/354) Visual Studio 2017 fails to compiler async with std::function as argument\n \n ## v1.5.5 - 2021 - January 29\n - Fixed issues\n     - [#317](https://github.com/stlab/libraries/issues/346): Recovery continuations not invoked on broken promises\n - Better conan.io support (Many thanks to Fernando Pelliccioni)\n - Fix several minor scripting and configuration issues (Many thanks to Fernando Pelliccioni)\n+- Fix in SerialQueue UnitTest that could lead to dead lock on systems with few cores  \n     \n ## v1.5.3 - 2020 - September 16\n - Fixed issues"},{"sha":"53da464b12e33f4f926481a1967e33e8ac4caa1a","filename":"CMakeLists.txt","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stlab/stlab/blob/c9d5de0b2ab5ef6b16bfee1d9e7e83a28246ae1f/CMakeLists.txt","raw_url":"https://github.com/stlab/stlab/raw/c9d5de0b2ab5ef6b16bfee1d9e7e83a28246ae1f/CMakeLists.txt","contents_url":"https://api.github.com/repos/stlab/stlab/contents/CMakeLists.txt?ref=c9d5de0b2ab5ef6b16bfee1d9e7e83a28246ae1f","patch":"@@ -14,7 +14,7 @@ else()\n   set( subproject OFF )\n endif()\n \n-project( stlab VERSION 1.5.5 LANGUAGES CXX )\n+project( stlab VERSION 1.5.6 LANGUAGES CXX )\n \n set(CMAKE_CXX_STANDARD 17)\n set(CMAKE_CXX_STANDARD_REQUIRED ON)"},{"sha":"113613a9377291223bdc169a3ce091d2f9ea106b","filename":"conanfile.py","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stlab/stlab/blob/c9d5de0b2ab5ef6b16bfee1d9e7e83a28246ae1f/conanfile.py","raw_url":"https://github.com/stlab/stlab/raw/c9d5de0b2ab5ef6b16bfee1d9e7e83a28246ae1f/conanfile.py","contents_url":"https://api.github.com/repos/stlab/stlab/contents/conanfile.py?ref=c9d5de0b2ab5ef6b16bfee1d9e7e83a28246ae1f","patch":"@@ -14,7 +14,7 @@ def option_on_off(option):\n \n class StlabLibrariesConan(ConanFile):\n     name = \"stlab\"\n-    version = \"1.5.5\"       #TODO(fernando): see how to automate the version number\n+    version = \"1.5.6\"       #TODO(fernando): see how to automate the version number\n     license = \"http://www.boost.org/users/license.html\"\n     url = \"https://github.com/stlab/libraries\"\n     description = \"Software Technology Lab (stlab) libraries\""},{"sha":"fe1a58840d88f151344c8dbf896b25f20c4f811a","filename":"stlab/concurrency/config.hpp","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stlab/stlab/blob/c9d5de0b2ab5ef6b16bfee1d9e7e83a28246ae1f/stlab%2Fconcurrency%2Fconfig.hpp","raw_url":"https://github.com/stlab/stlab/raw/c9d5de0b2ab5ef6b16bfee1d9e7e83a28246ae1f/stlab%2Fconcurrency%2Fconfig.hpp","contents_url":"https://api.github.com/repos/stlab/stlab/contents/stlab%2Fconcurrency%2Fconfig.hpp?ref=c9d5de0b2ab5ef6b16bfee1d9e7e83a28246ae1f","patch":"@@ -42,7 +42,7 @@\n     #elif _MSC_FULL_VER >= 191225830 && _MSVC_LANG == 201703L\n         #define STLAB_CPP_VERSION_PRIVATE() 17\n     #else\n-        #warning Unknown version of C++, assuming C++20.\n+        #pragma message(\"Unknown version of C++, assuming C++20.\")\n         #define STLAB_CPP_VERSION_PRIVATE() 20\n     #endif\n "},{"sha":"274bfb26ee5df9c3f746d1748790cb4084e49182","filename":"stlab/concurrency/task.hpp","status":"modified","additions":12,"deletions":15,"changes":27,"blob_url":"https://github.com/stlab/stlab/blob/c9d5de0b2ab5ef6b16bfee1d9e7e83a28246ae1f/stlab%2Fconcurrency%2Ftask.hpp","raw_url":"https://github.com/stlab/stlab/raw/c9d5de0b2ab5ef6b16bfee1d9e7e83a28246ae1f/stlab%2Fconcurrency%2Ftask.hpp","contents_url":"https://api.github.com/repos/stlab/stlab/contents/stlab%2Fconcurrency%2Ftask.hpp?ref=c9d5de0b2ab5ef6b16bfee1d9e7e83a28246ae1f","patch":"@@ -36,22 +36,19 @@ class task;\n \n template <class R, class... Args>\n class task<R(Args...)> {\n-    // REVISIT (sean.parent) : Use `if constexpr` here when we move to C++17\n-    template <class F>\n-    using possibly_empty_t =\n-        std::integral_constant<bool,\n-                               std::is_pointer<std::decay_t<F>>::value ||\n-                                   std::is_member_pointer<std::decay_t<F>>::value ||\n-                                   std::is_same<std::function<R(Args...)>, std::decay_t<F>>::value>;\n-\n-    template <class F>\n-    static auto is_empty(const F& f) -> std::enable_if_t<possibly_empty_t<F>::value, bool> {\n-        return !f;\n-    }\n \n-    template <class F>\n-    static auto is_empty(const F&) -> std::enable_if_t<!possibly_empty_t<F>::value, bool> {\n-        return false;\n+    template <typename F>\n+    constexpr static auto is_empty(const F& f){\n+        if constexpr (std::is_pointer<std::decay_t<F>>::value ||\n+                      std::is_member_pointer<std::decay_t<F>>::value ||\n+                      std::is_same<std::function<R(Args...)>, std::decay_t<F>>::value)\n+        {\n+            return !f;\n+        }\n+        else\n+        {\n+            return false;\n+        }\n     }\n \n     struct concept_t {"},{"sha":"5eec8bfb8a254c1ccf371549de52b9f614e4c20b","filename":"stlab/version.hpp","status":"modified","additions":2,"deletions":2,"changes":4,"blob_url":"https://github.com/stlab/stlab/blob/c9d5de0b2ab5ef6b16bfee1d9e7e83a28246ae1f/stlab%2Fversion.hpp","raw_url":"https://github.com/stlab/stlab/raw/c9d5de0b2ab5ef6b16bfee1d9e7e83a28246ae1f/stlab%2Fversion.hpp","contents_url":"https://api.github.com/repos/stlab/stlab/contents/stlab%2Fversion.hpp?ref=c9d5de0b2ab5ef6b16bfee1d9e7e83a28246ae1f","patch":"@@ -19,13 +19,13 @@\n //  STLAB_VERSION / 100 % 1000 is the minor version\n //  STLAB_VERSION / 100000 is the major version\n \n-#define STLAB_VERSION 100505\n+#define STLAB_VERSION 100506\n \n //\n //  STLAB_LIB_VERSION must be defined to be the same as STLAB_VERSION\n //  but as a *string* in the form \"x_y[_z]\" where x is the major version\n //  number, y is the minor version number, and z is the patch level if not 0.\n \n-#define STLAB_LIB_VERSION \"1_5_5\"\n+#define STLAB_LIB_VERSION \"1_5_6\"\n \n #endif"}]}