{"id":325194,"date":"2021-06-20T15:00:07","date_gmt":"2021-06-20T15:00:07","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=325194"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=325194","title":{"rendered":"\u041f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430 \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u0430\u043c\u0438 \u0432 C++20"},"content":{"rendered":"\n<div class=\"post__text post__text_v2\" id=\"post-content-body\">\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/655\/b9a\/55c\/655b9a55c303ffa9b92e35bb54dcd481.png\" width=\"1560\" height=\"820\"><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0440\u0438\u0432\u0435\u0442, \u043c\u0435\u043d\u044f \u0437\u043e\u0432\u0443\u0442 \u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440, \u044f \u0441\u0442\u0430\u0440\u0448\u0438\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u041f\u041e \u0432 \u0426\u0435\u043d\u0442\u0440\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438&nbsp;Orion&nbsp;Innovation. \u0425\u043e\u0447\u0443 \u043f\u0440\u0438\u0437\u043d\u0430\u0442\u044c\u0441\u044f, \u044f \u043b\u044e\u0431\u043b\u044e \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043f\u0440\u043e C++ \u0438 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u043c\u0438\u0442\u0430\u043f\u0430\u0445 \u0438 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u044f\u0445.&nbsp;\u0418&nbsp;\u0432\u043e\u0442&nbsp;\u044f&nbsp;\u0434\u043e\u0431\u0440\u0430\u043b\u0441\u044f \u0434\u043e&nbsp;\u0425\u0430\u0431\u0440\u0430. \u041d\u0430&nbsp;CppConf&nbsp;Russia&nbsp;Piter&nbsp;2020 \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u043b \u043f\u0440\u043e \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u044b \u0438 \u043f\u043e\u0441\u043b\u0435&nbsp;\u0432\u044b\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u044f&nbsp;\u043f\u043e\u043b\u0443\u0447\u0438\u043b&nbsp;\u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u0432 \u043f\u0440\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430 \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441&nbsp;\u043d\u0438\u043c\u0438.&nbsp;\u0417\u0430\u043c\u0435\u0440\u044b \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043d\u0435 \u0431\u044b\u043b\u0438 \u0446\u0435\u043b\u044c\u044e&nbsp;\u043c\u043e\u0435\u0433\u043e&nbsp;\u0434\u043e\u043a\u043b\u0430\u0434\u0430:&nbsp;\u043c\u043d\u0435 \u0431\u044b\u043b\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e, \u0447\u0442\u043e \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u044b \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u0441 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a\u043e\u0439 \u0436\u0435 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c\u044e, \u0447\u0442\u043e \u0438 \u043e\u0431\u044b\u0447\u043d\u044b\u0435 \u043c\u0435\u0442\u0430\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b,&nbsp;\u0430&nbsp;\u0434\u043e&nbsp;\u0434\u0435\u0442\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u044f \u0441\u043c\u043e\u0433 \u0434\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u043d\u0435\u0434\u0430\u0432\u043d\u043e.&nbsp;\u0421\u043f\u0435\u0448\u0443&nbsp;\u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c!&nbsp;<\/p>\n<h3>\u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043b\u043e\u0432 \u043e \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u0430\u0445<\/h3>\n<p>\u041a\u043e\u043d\u0446\u0435\u043f\u0442\u044b&nbsp;\u2014&nbsp;\u043f\u0435\u0440\u0435\u043e\u0441\u043c\u044b\u0441\u043b\u0435\u043d\u0438\u0435&nbsp;\u043c\u0435\u0442\u0430\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e\u0435&nbsp;constexpr.&nbsp;\u0415\u0441\u043b\u0438&nbsp;constexpr&nbsp;\u2014&nbsp;\u044d\u0442\u043e \u043f\u0440\u043e \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0439&nbsp;\u0432\u043e \u0432\u0440\u0435\u043c\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438, \u0431\u0443\u0434\u044c \u0442\u043e \u0444\u0430\u043a\u0442\u043e\u0440\u0438\u0430\u043b, \u044d\u043a\u0441\u043f\u043e\u043d\u0435\u043d\u0442\u0430 \u0438 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435, \u0442\u043e \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u044b&nbsp;\u2014&nbsp;\u044d\u0442\u043e \u043f\u0440\u043e \u043f\u0435\u0440\u0435\u0433\u0440\u0443\u0437\u043a\u0438, \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438, \u0443\u0441\u043b\u043e\u0432\u0438\u044f \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0435\u0439.&nbsp;\u0412&nbsp;\u043e\u0431\u0449\u0435\u043c, \u043f\u0440\u043e \u00ab\u0447\u0438\u0441\u0442\u043e\u0435&nbsp;\u043c\u0435\u0442\u0430\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u00bb. \u0418\u043d\u044b\u043c\u0438 \u0441\u043b\u043e\u0432\u0430\u043c\u0438, \u0432 C++20 \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438&nbsp;\u0431\u0435\u0437 \u0435\u0434\u0438\u043d\u043e\u0439, \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u043e\u0439 \u0434\u043b\u044f \u043d\u0430\u0441 \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u043e\u0439 \u0441\u043a\u043e\u0431\u043a\u0438, \u0442\u0435\u043c \u0441\u0430\u043c\u044b\u043c \u043f\u043e\u043b\u0443\u0447\u0430\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0431\u044b\u0441\u0442\u0440\u043e \u0438 \u0447\u0438\u0442\u0430\u0435\u043c\u043e \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u043a\u0430\u043a\u0443\u044e-\u043b\u0438\u0431\u043e \u043f\u0435\u0440\u0435\u0433\u0440\u0443\u0437\u043a\u0443 \u0438\u043b\u0438 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e:  <\/p>\n<pre><code class=\"cpp\">\/\/ #1 void increment(auto &amp; arg) requires requires { ++arg; };  \/\/ #2 void increment(auto &amp;);  struct Incrementable { Incrementable &amp; operator++() { return *this; } }; struct NonIncrementable {};  void later() {     Incrementable     i;     NonIncrementable ni;     increment(i);  \/\/ \u0412\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f #1     increment(ni); \/\/ \u0412\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f #2 } <\/code><\/pre>\n<p>\u041e \u0442\u043e\u043c, \u043a\u0430\u043a \u0432\u0441\u0451 \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u0435\u0441\u0442\u044c \u043c\u043e\u0440\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438,&nbsp;\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043e\u0442\u043b\u0438\u0447\u043d\u044b\u0439 \u0433\u0430\u0439\u0434 &#171;<a href=\"https:\/\/habr.com\/ru\/company\/jugru\/blog\/467299\/\"><u>\u041a\u043e\u043d\u0446\u0435\u043f\u0442\u044b: \u0443\u043f\u0440\u043e\u0449\u0430\u0435\u043c \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u043a\u043b\u0430\u0441\u0441\u043e\u0432 STD Utility<\/u><\/a>&#187; \u043f\u043e \u043c\u043e\u0442\u0438\u0432\u0430\u043c \u0432\u044b\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u044f \u0410\u043d\u0434\u0440\u0435\u044f \u0414\u0430\u0432\u044b\u0434\u043e\u0432\u0430 \u043d\u0430 C++ Russia 2019. \u041d\u0443 \u0430 \u043c\u044b \u0441\u0444\u043e\u043a\u0443\u0441\u0438\u0440\u0443\u0435\u043c\u0441\u044f \u043d\u0430 \u0442\u043e\u043c, \u043a\u0430\u043a\u043e\u0439 \u0446\u0435\u043d\u043e\u0439 \u0434\u043e\u0441\u0442\u0438\u0433\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b, \u0447\u0442\u043e\u0431\u044b \u0443\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e&nbsp;\u044d\u0442\u043e&nbsp;\u043d\u0435&nbsp;\u0442\u043e\u043b\u044c\u043a\u043e&nbsp;\u043f\u0440\u043e\u0441\u0442\u043e, \u0431\u044b\u0441\u0442\u0440\u043e \u0438 \u043a\u0440\u0430\u0441\u0438\u0432\u043e, \u043d\u043e&nbsp;\u0435\u0449\u0451&nbsp;\u0438 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e.  <\/p>\n<h3>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430<\/h3>\n<p>\u0418\u0442\u0430\u043a, \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043d\u0430\u0431\u043b\u044e\u0434\u0430\u0442\u044c \u0437\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c\u0438 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044f\u043c\u0438:&nbsp;<\/p>\n<ol>\n<li>\n<p>\u0412\u0440\u0435\u043c\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438&nbsp;<\/p>\n<\/li>\n<\/ol>\n<ol start=\"2\">\n<li>\n<p>\u0420\u0430\u0437\u043c\u0435\u0440 \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430&nbsp;<\/p>\n<\/li>\n<\/ol>\n<ol start=\"3\">\n<li>\n<p>\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0432 \u0437\u0430\u043f\u0438\u0441\u0438 (\u0438\u043b\u0438 \u0436\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043e\u0434\u0430), \u0432 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445&nbsp;<\/p>\n<\/li>\n<\/ol>\n<p>\u041f\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043c \u043c\u044b \u043d\u0430\u0447\u043d\u0451\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0430\u0436\u043d\u044b\u0445 \u0443\u0442\u043e\u0447\u043d\u0435\u043d\u0438\u0439:&nbsp;<\/p>\n<ul>\n<li>\n<p>\u0412\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u043f\u0440\u0438 \u043f\u043e\u0434\u0441\u0447\u0451\u0442\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0432 \u0437\u0430\u043f\u0438\u0441\u0438 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0441\u0447\u0438\u0442\u0430\u0442\u044c \u0432\u0441\u0435 \u043d\u0435 \u043f\u0443\u0441\u0442\u044b\u0435.&nbsp;<\/p>\n<\/li>\n<li>\n<p>\u0412\u043e-\u0432\u0442\u043e\u0440\u044b\u0445, \u0432 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043b\u0438\u0448\u044c \u043d\u0430 \u0441\u0430\u043c\u044b\u0435 \u043f\u0440\u043e\u0441\u0442\u044b\u0435 (\u0431\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0442\u0440\u043e\u043a) \u0441\u043b\u0443\u0447\u0430\u0438, \u0447\u0442\u043e\u0431\u044b \u0431\u044b\u0442\u044c \u0443\u0432\u0435\u0440\u0435\u043d\u043d\u044b\u043c\u0438 \u043d\u0430 100%, \u0447\u0442\u043e \u043c\u044b \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u043c \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0435 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u044b \u043a\u043e\u0434\u0430.&nbsp;<\/p>\n<\/li>\n<li>\n<p>\u0412-\u0442\u0440\u0435\u0442\u044c\u0438\u0445, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u043c\u044b\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u043a\u0440\u0430\u0439\u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u044b, \u0432\u0440\u0435\u043c\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u0432\u044b\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u0432 \u0434\u0435\u0441\u044f\u0442\u043a\u0430\u0445 \u043c\u0438\u043b\u043b\u0438\u0441\u0435\u043a\u0443\u043d\u0434.&nbsp;\u0427\u0442\u043e\u0431\u044b \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u044c&nbsp;\u043f\u043e\u0433\u0440\u0435\u0448\u043d\u043e\u0441\u0442\u044c, \u0434\u043b\u044f&nbsp;\u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0443\u0441\u0440\u0435\u0434\u043d\u0451\u043d\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0437\u0430&nbsp;<strong>100<\/strong>&nbsp;\u0437\u0430\u043f\u0443\u0441\u043a\u043e\u0432.<\/p>\n<\/li>\n<\/ul>\n<p>\u0412 \u0437\u0430\u043c\u0435\u0440\u0430\u0445 \u0431\u0443\u0434\u0443\u0442 \u0443\u0447\u0430\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c <strong>clang 12.0.0 <\/strong>\u0438 <strong>g++ 10.3.0<\/strong>, \u043a\u0430\u043a \u0441 \u043f\u043e\u043b\u043d\u043e\u0439 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0435\u0439, \u0442\u0430\u043a \u0438 \u0431\u0435\u0437 \u043d\u0435\u0451.<\/p>\n<p>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0432\u044b\u0441\u0442\u0443\u043f\u0438\u0442 Ubuntu 16.04, \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043d\u0430\u044f \u043d\u0430 Windows 10 \u0447\u0435\u0440\u0435\u0437 WSL2.&nbsp;\u041d\u0430 \u0432\u0441\u044f\u043a\u0438\u0439 \u0441\u043b\u0443\u0447\u0430\u0439 \u043f\u0440\u0438\u043b\u0430\u0433\u0430\u044e \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0438 \u041f\u041a:<\/p>\n<details class=\"spoiler\">\n<summary>\u0425\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0438 \u041f\u041a<\/summary>\n<div class=\"spoiler__content\">\n<pre><code>------------------ System Information ------------------          Operating System: Windows 10 Enterprise 64-bit (10.0, Build 19043) (19041.vb_release.191206-1406)                  Language: Russian (Regional Setting: Russian)       System Manufacturer: Dell Inc.              System Model: Latitude 5491                      BIOS: 1.12.0 (type: UEFI)                 Processor: Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz (8 CPUs), ~2.3GHz                    Memory: 32768MB RAM       Available OS Memory: 32562MB RAM                 Page File: 9995MB used, 27430MB available ------------------------ Disk &amp; DVD\/CD-ROM Drives ------------------------       Drive: C:  Free Space: 26.5 GB Total Space: 243.0 GB File System: NTFS       Model: SAMSUNG SSD PM871b M.2 2280 256GB<\/code><\/pre>\n<\/div>\n<\/details>\n<h3>\u042d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u044b<\/h3>\n<p>\u041f\u043e\u0441\u043b\u0435&nbsp;\u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0445&nbsp;\u043e\u0442\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0439&nbsp;\u043c\u044b \u043c\u043e\u0436\u0435\u043c,&nbsp;\u043d\u0430\u043a\u043e\u043d\u0435\u0446,&nbsp;\u043d\u0430\u0447\u0430\u0442\u044c \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u044b.   <\/p>\n<h4>\u042d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442 \u21161: \u042d\u0432\u043e\u043b\u044e\u0446\u0438\u044f \u043c\u0435\u0442\u0430\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f<\/h4>\n<p>\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430&nbsp;\u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u0442\u043e, \u043a\u0430\u043a \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u044b \u0441\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0441 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435\u043c \u043f\u0435\u0440\u0435\u0433\u0440\u0443\u0437\u043a\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0434\u043b\u044f \u0438\u043d\u043a\u0440\u0435\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u0435\u043c\u044b\u0445 \u0438&nbsp;\u043d\u0435\u0438\u043d\u043a\u0440\u0435\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u0435\u043c\u044b\u0445&nbsp;\u0442\u0438\u043f\u043e\u0432 \u0434\u0430\u043d\u043d\u044b\u0445 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430. \u041a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u043c\u044b\u0439 \u043a\u043e\u0434 \u0434\u043b\u044f C++ 03, 17 \u0438 20 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b \u043d\u0438\u0436\u0435. \u041e\u0434\u0438\u043d \u0438\u0437 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0435\u0439, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e&nbsp;\u2014&nbsp;\u043e\u0431\u044a\u0435\u043c \u043a\u043e\u0434\u0430, \u043c\u043e\u0436\u043d\u043e \u043e\u0446\u0435\u043d\u0438\u0442\u044c \u0443\u0436\u0435 \u0441\u0435\u0439\u0447\u0430\u0441: \u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043e\u0434\u0430 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0441\u043e\u043a\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u043f\u043e \u043c\u0435\u0440\u0435 \u044d\u0432\u043e\u043b\u044e\u0446\u0438\u0438 \u044f\u0437\u044b\u043a\u0430, \u0443\u0441\u0442\u0443\u043f\u0430\u044f \u043c\u0435\u0441\u0442\u043e \u0447\u0438\u0442\u0430\u0435\u043c\u043e\u0441\u0442\u0438 \u0438 \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u0435.  <\/p>\n<details class=\"spoiler\">\n<summary>\u041a\u043e\u0434<\/summary>\n<div class=\"spoiler__content\">\n<details class=\"spoiler\">\n<summary>incrementable_03.cpp<\/summary>\n<div class=\"spoiler__content\">\n<pre><code>\/\/ copied from boost template&lt;bool C, typename T = void&gt; struct enable_if { typedef T type; }; template&lt;typename T&gt; struct enable_if&lt;false, T&gt; {};  namespace is_inc {     typedef char (&amp;yes)[1]; typedef char (&amp;no)[2]; struct tag {}; struct any { template &amp;lt;class T&amp;gt; any(T const&amp;amp;); }; tag operator++(any const &amp;amp;);  template&amp;lt;typename T&amp;gt; static yes test(T const &amp;amp;); static no test(tag);  template&amp;lt;typename _T&amp;gt; struct IsInc {     static _T &amp;amp; type_value;     static const bool value = sizeof(yes) == sizeof(test(++type_value)); };  } template&lt;typename T&gt; struct IsInc : public is_inc::IsInc&lt;T&gt; {}; template&lt;class Ty&gt; typename enable_if&lt;IsInc&lt;Ty&gt;::value&gt;::type increment(Ty &amp;); template&lt;class Ty&gt; typename enable_if&lt;!IsInc&lt;Ty&gt;::value&gt;::type increment(Ty &amp;); struct Incrementable { Incrementable &amp; operator++() { return *this; } }; struct NonIncrementable {}; void later() {     Incrementable     i;     NonIncrementable ni;     increment(i);     increment(ni); }<\/code><\/pre>\n<\/div>\n<\/details>\n<details class=\"spoiler\">\n<summary>incrementable_17.cpp<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"cpp\">#include &lt;type_traits&gt;  template&lt;class, class = std::void_t&lt;&gt;&gt; struct IsInc : std::false_type {}; template&lt;class T&gt; struct IsInc&lt;T, std::void_t&lt;decltype( ++std::declval&lt;T&amp;&gt;() )&gt;&gt;     : std::true_type {}; template&lt;class Ty&gt; std::enable_if_t&lt;IsInc&lt;Ty&gt;::value&gt; increment(Ty &amp;); template&lt;class Ty&gt; std::enable_if_t&lt;!IsInc&lt;Ty&gt;::value&gt; increment(Ty &amp;); struct Incrementable { Incrementable &amp; operator++() { return *this; } }; struct NonIncrementable {}; void later() {     Incrementable     i;     NonIncrementable ni;     increment(i);     increment(ni); }<\/code><\/pre>\n<\/div>\n<\/details>\n<details class=\"spoiler\">\n<summary>incrementable_20.cpp<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"cpp\">void increment(auto &amp; arg) requires requires { ++arg; }; void increment(auto &amp;);  struct Incrementable { Incrementable &amp; operator++() { return *this; } }; struct NonIncrementable {};  void later() {     Incrementable     i;     NonIncrementable ni;     increment(i);     increment(ni); }<\/code><\/pre>\n<\/div>\n<\/details>\n<\/div>\n<\/details>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0432\u0437\u0433\u043b\u044f\u043d\u0435\u043c \u043d\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b:<\/p>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"224\" width=\"224\">\n<p>\u0424\u0430\u0439\u043b<\/p>\n<\/td>\n<td colspan=\"2\" data-colwidth=\"85,56\" width=\"85\">\n<p>\u041a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f<\/p>\n<\/td>\n<td>\n<p>\u0412\u0440\u0435\u043c\u044f, \u043c\u0441<\/p>\n<\/td>\n<td>\n<p>\u0420\u0430\u0437\u043c\u0435\u0440 \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430, \u0431\u0430\u0439\u0442<\/p>\n<\/td>\n<td>\n<p>\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432, \u0448\u0442<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"224\" width=\"224\">\n<p>incrementable_03.cpp<\/p>\n<\/td>\n<td data-colwidth=\"85\" width=\"85\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"56\" width=\"56\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>43,02<\/p>\n<\/td>\n<td>\n<p>1304<\/p>\n<\/td>\n<td>\n<p>782<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"224\" width=\"224\">\n<p>incrementable_17.cpp<\/p>\n<\/td>\n<td data-colwidth=\"85\" width=\"85\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"56\" width=\"56\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>67,46<\/p>\n<\/td>\n<td>\n<p>1320<\/p>\n<\/td>\n<td>\n<p>472<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"224\" width=\"224\">\n<p>incrementable_20.cpp<\/p>\n<\/td>\n<td data-colwidth=\"85\" width=\"85\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"56\" width=\"56\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>43,42<\/p>\n<\/td>\n<td>\n<p>1304<\/p>\n<\/td>\n<td>\n<p>230<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"224\" width=\"224\">\n<p>incrementable_03.cpp<\/p>\n<\/td>\n<td data-colwidth=\"85\" width=\"85\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"56\" width=\"56\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>47,21<\/p>\n<\/td>\n<td>\n<p>1296<\/p>\n<\/td>\n<td>\n<p>782<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"224\" width=\"224\">\n<p>incrementable_17.cpp<\/p>\n<\/td>\n<td data-colwidth=\"85\" width=\"85\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"56\" width=\"56\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>77,77<\/p>\n<\/td>\n<td>\n<p>1304<\/p>\n<\/td>\n<td>\n<p>472<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"224\" width=\"224\">\n<p>incrementable_20.cpp<\/p>\n<\/td>\n<td data-colwidth=\"85\" width=\"85\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"56\" width=\"56\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>45,70<\/p>\n<\/td>\n<td>\n<p>1288<\/p>\n<\/td>\n<td>\n<p>230<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"224\" width=\"224\">\n<p>incrementable_03.cpp<\/p>\n<\/td>\n<td data-colwidth=\"85\" width=\"85\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"56\" width=\"56\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>19,89<\/p>\n<\/td>\n<td>\n<p>1568<\/p>\n<\/td>\n<td>\n<p>782<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"224\" width=\"224\">\n<p>incrementable_17.cpp<\/p>\n<\/td>\n<td data-colwidth=\"85\" width=\"85\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"56\" width=\"56\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>34,71<\/p>\n<\/td>\n<td>\n<p>1568<\/p>\n<\/td>\n<td>\n<p>472<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"224\" width=\"224\">\n<p>incrementable_20.cpp<\/p>\n<\/td>\n<td data-colwidth=\"85\" width=\"85\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"56\" width=\"56\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>17,62<\/p>\n<\/td>\n<td>\n<p>1480<\/p>\n<\/td>\n<td>\n<p>230<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"224\" width=\"224\">\n<p>incrementable_03.cpp<\/p>\n<\/td>\n<td data-colwidth=\"85\" width=\"85\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"56\" width=\"56\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>18,44<\/p>\n<\/td>\n<td>\n<p>1552<\/p>\n<\/td>\n<td>\n<p>782<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"224\" width=\"224\">\n<p>incrementable_17.cpp<\/p>\n<\/td>\n<td data-colwidth=\"85\" width=\"85\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"56\" width=\"56\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>38,94<\/p>\n<\/td>\n<td>\n<p>1552<\/p>\n<\/td>\n<td>\n<p>472<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"224\" width=\"224\">\n<p>incrementable_20.cpp<\/p>\n<\/td>\n<td data-colwidth=\"85\" width=\"85\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"56\" width=\"56\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>18,57<\/p>\n<\/td>\n<td>\n<p>1464<\/p>\n<\/td>\n<td>\n<p>230   <\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u041a\u0430\u043a \u0443\u0436\u0435 \u043e\u0442\u043c\u0435\u0447\u0430\u043b\u043e\u0441\u044c \u0440\u0430\u043d\u0435\u0435,&nbsp;\u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043e\u0434\u0430 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0443\u043c\u0435\u043d\u044c\u0448\u0430\u0435\u0442\u0441\u044f \u043f\u043e \u043c\u0435\u0440\u0435 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044f \u044f\u0437\u044b\u043a\u0430: c 782 \u0434\u043e 472 \u0438 \u0437\u0430\u0442\u0435\u043c \u0434\u043e 230.&nbsp;\u0420\u0430\u0437\u043d\u0438\u0446\u0430&nbsp;\u043f\u043e\u0447\u0442\u0438 \u0432 3,5 \u0440\u0430\u0437\u0430, \u0435\u0441\u043b\u0438 \u0441\u0440\u0430\u0432\u043d\u0438\u0442\u044c&nbsp;\u0421++20 \u0438 \u0421++03 (\u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u0434\u0430\u0436\u0435 \u0431\u043e\u043b\u044c\u0448\u0435,&nbsp;\u0442.\u043a.&nbsp;\u043f\u043e\u0440\u044f\u0434\u043a\u0430&nbsp;150\u2012170&nbsp;\u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0432\u043e \u0432\u0441\u0435\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445&nbsp;\u2014&nbsp;\u0442\u0435\u0441\u0442\u0438\u0440\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u0434). \u0420\u0430\u0437\u043c\u0435\u0440\u044b \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u0441\u0442\u0435\u043f\u0435\u043d\u043d\u043e \u0443\u043c\u0435\u043d\u044c\u0448\u0430\u044e\u0442\u0441\u044f. \u0427\u0442\u043e \u0436\u0435 \u0441\u043e&nbsp;\u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438? \u0421\u0442\u0440\u0430\u043d\u043d\u043e, \u043d\u043e&nbsp;\u0432\u0440\u0435\u043c\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 03 \u0438 20 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0440\u0430\u0432\u043d\u043e, \u0430 \u0432\u043e\u0442 \u0432 \u0421++17&nbsp;\u2014&nbsp;\u0432 \u0434\u0432\u0430 \u0440\u0430\u0437\u0430 \u0431\u043e\u043b\u044c\u0448\u0435. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0432\u0437\u0433\u043b\u044f\u043d\u0435\u043c \u043d\u0430 \u043a\u043e\u0434 \u043d\u0430\u0448\u0438\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432: \u043f\u043e\u043c\u0438\u043c\u043e \u0432\u0441\u0435\u0433\u043e \u043f\u0440\u043e\u0447\u0435\u0433\u043e, \u0432 \u0433\u043b\u0430\u0437\u0430 \u0431\u0440\u043e\u0441\u0430\u0435\u0442\u0441\u044f&nbsp;<code>#include<\/code>&nbsp;\u0432 \u0441\u043b\u0443\u0447\u0430\u0435 C++17. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u043c&nbsp;<code>declval<\/code>,&nbsp;<code>enable_if<\/code>&nbsp;\u0438&nbsp;<code>void_t<\/code>&nbsp;\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043c:  <\/p>\n<details class=\"spoiler\">\n<summary>incrementable_no_tt.cpp<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"cpp\">template&lt;bool C, typename T = void&gt; struct enable_if { typedef T type; }; template&lt;typename T&gt; struct enable_if&lt;false, T&gt; {}; template&lt;bool B, typename T = void&gt; using enable_if_t = typename enable_if&lt;B, T&gt;::type;  template&lt;typename ...&gt; using void_t = void;  template&lt;class T&gt; T &amp;&amp; declval() noexcept;  template&lt;class, class = void_t&lt;&gt;&gt; struct IsInc {     constexpr static bool value = false; }; template&lt;class T&gt; struct IsInc&lt;T, void_t&lt;decltype( ++declval&lt;T&amp;&gt;() )&gt;&gt; {     constexpr static bool value = true; };  template&lt;class Ty&gt; enable_if_t&lt;IsInc&lt;Ty&gt;::value&gt; increment(Ty &amp;); template&lt;class Ty&gt; enable_if_t&lt;!IsInc&lt;Ty&gt;::value&gt; increment(Ty &amp;);  struct Incrementable { Incrementable &amp; operator++() { return *this; } }; struct NonIncrementable {};  void later() {     Incrementable     i;     NonIncrementable ni;     increment(i);     increment(ni); }<\/code><\/pre>\n<\/div>\n<\/details>\n<p>\u0418 \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043e\u0431\u043d\u043e\u0432\u0438\u043c \u043d\u0430\u0448\u0443 \u0442\u0430\u0431\u043b\u0438\u0446\u0443:<\/p>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"225\" width=\"225\">\n<p>\u0424\u0430\u0439\u043b<\/p>\n<\/td>\n<td colspan=\"2\" data-colwidth=\"80,59\" width=\"80\">\n<p>\u041a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f<\/p>\n<\/td>\n<td>\n<p>\u0412\u0440\u0435\u043c\u044f, \u043c\u0441<\/p>\n<\/td>\n<td>\n<p>\u0420\u0430\u0437\u043c\u0435\u0440 \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430, \u0431\u0430\u0439\u0442<\/p>\n<\/td>\n<td>\n<p>\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432, \u0448\u0442<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"225\" width=\"225\">\n<p>incrementable_03.cpp<\/p>\n<\/td>\n<td data-colwidth=\"80\" width=\"80\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"59\" width=\"59\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>43,02<\/p>\n<\/td>\n<td>\n<p>1304<\/p>\n<\/td>\n<td>\n<p>782<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"225\" width=\"225\">\n<p>incrementable_17_no_tt.cpp<\/p>\n<\/td>\n<td data-colwidth=\"80\" width=\"80\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"59\" width=\"59\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>44,498<\/p>\n<\/td>\n<td>\n<p>1320<\/p>\n<\/td>\n<td>\n<p>714<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"225\" width=\"225\">\n<p>incrementable_20.cpp<\/p>\n<\/td>\n<td data-colwidth=\"80\" width=\"80\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"59\" width=\"59\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>43,419<\/p>\n<\/td>\n<td>\n<p>1304<\/p>\n<\/td>\n<td>\n<p>230<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"225\" width=\"225\">\n<p>incrementable_03.cpp<\/p>\n<\/td>\n<td data-colwidth=\"80\" width=\"80\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"59\" width=\"59\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>47,205<\/p>\n<\/td>\n<td>\n<p>1296<\/p>\n<\/td>\n<td>\n<p>782<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"225\" width=\"225\">\n<p>incrementable_17_no_tt.cpp<\/p>\n<\/td>\n<td data-colwidth=\"80\" width=\"80\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"59\" width=\"59\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>47,327<\/p>\n<\/td>\n<td>\n<p>1312<\/p>\n<\/td>\n<td>\n<p>714<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"225\" width=\"225\">\n<p>incrementable_20.cpp<\/p>\n<\/td>\n<td data-colwidth=\"80\" width=\"80\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"59\" width=\"59\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>45,704<\/p>\n<\/td>\n<td>\n<p>1288<\/p>\n<\/td>\n<td>\n<p>230<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"225\" width=\"225\">\n<p>incrementable_03.cpp<\/p>\n<\/td>\n<td data-colwidth=\"80\" width=\"80\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"59\" width=\"59\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>19,885<\/p>\n<\/td>\n<td>\n<p>1568<\/p>\n<\/td>\n<td>\n<p>782<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"225\" width=\"225\">\n<p>incrementable_17_no_tt.cpp<\/p>\n<\/td>\n<td data-colwidth=\"80\" width=\"80\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"59\" width=\"59\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>21,163<\/p>\n<\/td>\n<td>\n<p>1584<\/p>\n<\/td>\n<td>\n<p>714<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"225\" width=\"225\">\n<p>incrementable_20.cpp<\/p>\n<\/td>\n<td data-colwidth=\"80\" width=\"80\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"59\" width=\"59\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>17,619<\/p>\n<\/td>\n<td>\n<p>1480<\/p>\n<\/td>\n<td>\n<p>230<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"225\" width=\"225\">\n<p>incrementable_03.cpp<\/p>\n<\/td>\n<td data-colwidth=\"80\" width=\"80\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"59\" width=\"59\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>18,442<\/p>\n<\/td>\n<td>\n<p>1552<\/p>\n<\/td>\n<td>\n<p>782<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"225\" width=\"225\">\n<p>incrementable_17_no_tt.cpp<\/p>\n<\/td>\n<td data-colwidth=\"80\" width=\"80\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"59\" width=\"59\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>19,057<\/p>\n<\/td>\n<td>\n<p>1568<\/p>\n<\/td>\n<td>\n<p>714<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"225\" width=\"225\">\n<p>incrementable_20.cpp<\/p>\n<\/td>\n<td data-colwidth=\"80\" width=\"80\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"59\" width=\"59\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>18,566<\/p>\n<\/td>\n<td>\n<p>1464<\/p>\n<\/td>\n<td>\n<p>230   <\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u0412\u0440\u0435\u043c\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u043d\u0430 17 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0435 \u043d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u0438 \u0441\u0442\u0430\u043b\u043e \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0440\u0430\u0432\u043d\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 03 \u0438 20, \u043e\u0434\u043d\u0430\u043a\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043e\u0434\u0430 \u0441\u0442\u0430\u043b\u043e \u0431\u043b\u0438\u0437\u043a\u043e \u043a \u0441\u0430\u043c\u043e\u043c\u0443 \u0442\u044f\u0436\u0451\u043b\u043e\u043c\u0443, \u0431\u0430\u0437\u043e\u0432\u043e\u043c\u0443 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0443. \u0422\u0430\u043a \u0447\u0442\u043e, \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u043f\u043e\u0434 \u0440\u0443\u043a\u043e\u0439 C++20 \u0438 \u043d\u0443\u0436\u043d\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043a\u0430\u043a\u0443\u044e-\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u0443\u044e \u043c\u0435\u0442\u0430-\u043f\u0435\u0440\u0435\u0433\u0440\u0443\u0437\u043a\u0443,&nbsp;\u0441\u043c\u0435\u043b\u043e \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u044b. \u042d\u0442\u043e \u0447\u0438\u0442\u0430\u0431\u0435\u043b\u044c\u043d\u0435\u0435, \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0441 \u0442\u0430\u043a\u043e\u0439 \u0436\u0435 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c\u044e, \u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u043c\u0435\u043d\u044c\u0448\u0435 \u043c\u0435\u0441\u0442\u0430.  <\/p>\n<h4>\u042d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442 \u21162: \u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u043c\u0435\u0442\u043e\u0434\u043e\u0432<\/h4>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0432\u0437\u0433\u043b\u044f\u043d\u0435\u043c \u043d\u0430 \u0435\u0449\u0435 \u043e\u0434\u043d\u0443 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c: \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0438\u043b\u0438 \u043c\u0435\u0442\u043e\u0434\u0430 (\u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0438 \u0434\u043b\u044f \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u043e\u0432 \u0438 \u0434\u0435\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u043e\u0432) \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0442\u0438\u043f\u0430&nbsp;<code>OptionalLike<\/code>, \u0438\u043c\u0435\u044e\u0449\u0435\u0433\u043e \u0434\u0435\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432 \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u043f\u043e\u043c\u0435\u0449\u0430\u0435\u043c\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 \u0442\u0440\u0438\u0432\u0438\u0430\u043b\u0435\u043d, \u0430 \u0438\u043d\u0430\u0447\u0435&nbsp;\u2014&nbsp;\u0434\u0435\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440, \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0449\u0438\u0439&nbsp;\u0434\u0435\u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e&nbsp;\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e. \u041a\u043e\u0434 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u043d\u0438\u0436\u0435:  <\/p>\n<details class=\"spoiler\">\n<summary>\u041a\u043e\u0434<\/summary>\n<div class=\"spoiler__content\">\n<details class=\"spoiler\">\n<summary>optional_like_17.cpp<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"cpp\">#include &lt;type_traits&gt; #include &lt;string&gt;  template&lt;typename T, typename = void&gt; struct OptionalLike {     ~OptionalLike() {         \/* Calls d-tor manually *\/     } };  template&lt;typename T&gt; struct OptionalLike&lt;T, std::enable_if_t&lt;std::is_trivially_destructible&lt;T&gt;::value&gt;&gt; {     ~OptionalLike() = default; };   void later() {     OptionalLike&lt;int&gt;         oli;     OptionalLike&lt;std::string&gt; ols; } <\/code><\/pre>\n<\/div>\n<\/details>\n<details class=\"spoiler\">\n<summary>optional_like_20.cpp<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"cpp\">#include &lt;type_traits&gt; #include &lt;string&gt;  template&lt;typename T&gt; struct OptionalLike {     ~OptionalLike() {         \/* Calls d-tor manually *\/     }     ~OptionalLike() requires (std::is_trivially_destructible&lt;T&gt;::value) = default; };  void later() {     OptionalLike&lt;int&gt;         oli;     OptionalLike&lt;std::string&gt; ols; } <\/code><\/pre>\n<\/div>\n<\/details>\n<\/div>\n<\/details>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0432\u0437\u0433\u043b\u044f\u043d\u0435\u043c \u043d\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b:<\/p>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"226\" width=\"226\">\n<p>\u0424\u0430\u0439\u043b<\/p>\n<\/td>\n<td colspan=\"2\" data-colwidth=\"76,66\" width=\"76\">\n<p>\u041a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f<\/p>\n<\/td>\n<td data-colwidth=\"134\" width=\"134\">\n<p>\u0412\u0440\u0435\u043c\u044f, \u043c\u0441<\/p>\n<\/td>\n<td data-colwidth=\"139\" width=\"139\">\n<p>\u0420\u0430\u0437\u043c\u0435\u0440   \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430, \u0431\u0430\u0439\u0442<\/p>\n<\/td>\n<td>\n<p>\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432, \u0448\u0442<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"226\" width=\"226\">\n<p>optional_like_17.cpp<\/p>\n<\/td>\n<td data-colwidth=\"76\" width=\"76\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"66\" width=\"66\">\n<p>O0<\/p>\n<\/td>\n<td data-colwidth=\"134\" width=\"134\">\n<p>487,62<\/p>\n<\/td>\n<td data-colwidth=\"139\" width=\"139\">\n<p>1424<\/p>\n<\/td>\n<td>\n<p>319<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"226\" width=\"226\">\n<p>optional_like_20.cpp<\/p>\n<\/td>\n<td data-colwidth=\"76\" width=\"76\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"66\" width=\"66\">\n<p>O0<\/p>\n<\/td>\n<td data-colwidth=\"134\" width=\"134\">\n<p>616,8<\/p>\n<\/td>\n<td data-colwidth=\"139\" width=\"139\">\n<p>1816<\/p>\n<\/td>\n<td>\n<p>253<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"226\" width=\"226\">\n<p>optional_like_17.cpp<\/p>\n<\/td>\n<td data-colwidth=\"76\" width=\"76\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"66\" width=\"66\">\n<p>O3<\/p>\n<\/td>\n<td data-colwidth=\"134\" width=\"134\">\n<p>490,07<\/p>\n<\/td>\n<td data-colwidth=\"139\" width=\"139\">\n<p>944<\/p>\n<\/td>\n<td>\n<p>319<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"226\" width=\"226\">\n<p>optional_like_20.cpp<\/p>\n<\/td>\n<td data-colwidth=\"76\" width=\"76\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"66\" width=\"66\">\n<p>O3<\/p>\n<\/td>\n<td data-colwidth=\"134\" width=\"134\">\n<p>627,64<\/p>\n<\/td>\n<td data-colwidth=\"139\" width=\"139\">\n<p>1024<\/p>\n<\/td>\n<td>\n<p>253<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"226\" width=\"226\">\n<p>optional_like_17.cpp<\/p>\n<\/td>\n<td data-colwidth=\"76\" width=\"76\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"66\" width=\"66\">\n<p>O0<\/p>\n<\/td>\n<td data-colwidth=\"134\" width=\"134\">\n<p>202,29<\/p>\n<\/td>\n<td data-colwidth=\"139\" width=\"139\">\n<p>1968<\/p>\n<\/td>\n<td>\n<p>319<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"226\" width=\"226\">\n<p>optional_like_20.cpp<\/p>\n<\/td>\n<td data-colwidth=\"76\" width=\"76\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"66\" width=\"66\">\n<p>O0<\/p>\n<\/td>\n<td data-colwidth=\"134\" width=\"134\">\n<p>505,82<\/p>\n<\/td>\n<td data-colwidth=\"139\" width=\"139\">\n<p>1968<\/p>\n<\/td>\n<td>\n<p>253<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"226\" width=\"226\">\n<p>optional_like_17.cpp<\/p>\n<\/td>\n<td data-colwidth=\"76\" width=\"76\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"66\" width=\"66\">\n<p>O3<\/p>\n<\/td>\n<td data-colwidth=\"134\" width=\"134\">\n<p>205,55<\/p>\n<\/td>\n<td data-colwidth=\"139\" width=\"139\">\n<p>1200<\/p>\n<\/td>\n<td>\n<p>319<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"226\" width=\"226\">\n<p>optional_like_20.cpp<\/p>\n<\/td>\n<td data-colwidth=\"76\" width=\"76\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"66\" width=\"66\">\n<p>O3<\/p>\n<\/td>\n<td data-colwidth=\"134\" width=\"134\">\n<p>524,54<\/p>\n<\/td>\n<td data-colwidth=\"139\" width=\"139\">\n<p>1200<\/p>\n<\/td>\n<td>\n<p>253   <\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u041c\u044b \u0432\u0438\u0434\u0438\u043c, \u0447\u0442\u043e \u043d\u043e\u0432\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0431\u043e\u043b\u0435\u0435 \u0447\u0438\u0442\u0430\u0431\u0435\u043b\u044c\u043d\u044b\u043c \u0438 \u043b\u0430\u043a\u043e\u043d\u0438\u0447\u043d\u044b\u043c (253 \u0441\u0438\u043c\u0432\u043e\u043b\u0430 \u043f\u0440\u043e\u0442\u0438\u0432 319 \u0443 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e), \u043e\u0434\u043d\u0430\u043a\u043e \u043f\u043b\u0430\u0442\u0438\u043c \u0437\u0430 \u044d\u0442\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438: \u043e\u0431\u0430 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430 \u043a\u0430\u043a \u0441 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0435\u0439, \u0442\u0430\u043a \u0438 \u0431\u0435\u0437 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0438 \u0445\u0443\u0434\u0448\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441 \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u0430\u043c\u0438. GCC \u0430\u0436 \u0432 2\u20122,5 \u0440\u0430\u0437\u0430 \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u0435\u0435. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0440\u0430\u0437\u043c\u0435\u0440 \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u0443&nbsp;gcc&nbsp;\u043d\u0435 \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0432\u043e\u0432\u0441\u0435, \u0430 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435&nbsp;clang&nbsp;\u2014&nbsp;\u0431\u043e\u043b\u044c\u0448\u0435 \u0434\u043b\u044f \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u043e\u0432. \u041a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043a\u043e\u043c\u043f\u0440\u043e\u043c\u0438\u0441\u0441: \u043b\u0438\u0431\u043e \u043c\u0435\u043d\u044c\u0448\u0435 \u043a\u043e\u0434\u0430, \u043d\u043e \u0434\u043e\u043b\u044c\u0448\u0435 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f, \u043b\u0438\u0431\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u043a\u043e\u0434\u0430, \u043d\u043e \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f.<\/p>\n<h4>\u042d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442 \u21163: \u0412\u043b\u0438\u044f\u043d\u0438\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u043e\u0432 \u043d\u0430 \u0432\u0440\u0435\u043c\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438<\/h4>\n<p>\u041c\u044b \u0437\u043d\u0430\u0435\u043c, \u0447\u0442\u043e \u043d\u0430\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u043d\u0430 \u0442\u0438\u043f&nbsp;\u043c\u043e\u0436\u043d\u043e&nbsp;\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043d\u0430\u0431\u043e\u0440\u044b \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u0439, \u043e\u043d\u0438 \u0436\u0435 \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u044b.&nbsp;\u0422\u0430\u043a\u0436\u0435&nbsp;\u043c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0432 \u043c\u043e\u043c\u0435\u043d\u0442 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u043d\u043e\u0439 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0438. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u0435\u0441\u0442\u044c \u043b\u0438 \u0440\u0430\u0437\u043d\u0438\u0446\u0430 \u0441 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430. \u041a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0431\u0443\u0434\u0435\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u044b:  <\/p>\n<details class=\"spoiler\">\n<summary>\u041a\u043e\u0434<\/summary>\n<div class=\"spoiler__content\">\n<details class=\"spoiler\">\n<summary>inline.cpp<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"cpp\">template&lt;typename T&gt; void foo() requires (sizeof(T) &gt;= 4) { }  template&lt;typename T&gt; void foo() {}  void later() {     foo&lt;char&gt;();     foo&lt;int&gt;(); } <\/code><\/pre>\n<\/div>\n<\/details>\n<details class=\"spoiler\">\n<summary>concept.cpp<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"cpp\">template&lt;typename T&gt; concept IsBig = sizeof(T) &gt;= 4;  template&lt;typename T&gt; void foo() requires IsBig&lt;T&gt; { }  template&lt;typename T&gt; void foo() {}  void later() {     foo&lt;char&gt;();     foo&lt;int&gt;(); } <\/code><\/pre>\n<\/div>\n<\/details>\n<\/div>\n<\/details>\n<p>\u0421\u0440\u0430\u0437\u0443 \u0432\u0437\u0433\u043b\u044f\u043d\u0435\u043c \u043d\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b:  <\/p>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"221\" width=\"221\">\n<p>\u0424\u0430\u0439\u043b<\/p>\n<\/td>\n<td colspan=\"2\" data-colwidth=\"86,50\" width=\"86\">\n<p>\u041a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f<\/p>\n<\/td>\n<td data-colwidth=\"132\" width=\"132\">\n<p>\u0412\u0440\u0435\u043c\u044f, \u043c\u0441<\/p>\n<\/td>\n<td data-colwidth=\"139\" width=\"139\">\n<p>\u0420\u0430\u0437\u043c\u0435\u0440   \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430, \u0431\u0430\u0439\u0442<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"221\" width=\"221\">\n<p>inline.cpp<\/p>\n<\/td>\n<td data-colwidth=\"86\" width=\"86\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"50\" width=\"50\">\n<p>O0<\/p>\n<\/td>\n<td data-colwidth=\"132\" width=\"132\">\n<p>38,666<\/p>\n<\/td>\n<td data-colwidth=\"139\" width=\"139\">\n<p>1736<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"221\" width=\"221\">\n<p>concept.cpp<\/p>\n<\/td>\n<td data-colwidth=\"86\" width=\"86\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"50\" width=\"50\">\n<p>O0<\/p>\n<\/td>\n<td data-colwidth=\"132\" width=\"132\">\n<p>39,868<\/p>\n<\/td>\n<td data-colwidth=\"139\" width=\"139\">\n<p>1736<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"221\" width=\"221\">\n<p>concept.cpp<\/p>\n<\/td>\n<td data-colwidth=\"86\" width=\"86\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"50\" width=\"50\">\n<p>O3<\/p>\n<\/td>\n<td data-colwidth=\"132\" width=\"132\">\n<p>42,578<\/p>\n<\/td>\n<td data-colwidth=\"139\" width=\"139\">\n<p>1040<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"221\" width=\"221\">\n<p>inline.cpp<\/p>\n<\/td>\n<td data-colwidth=\"86\" width=\"86\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"50\" width=\"50\">\n<p>O3<\/p>\n<\/td>\n<td data-colwidth=\"132\" width=\"132\">\n<p>43,610<\/p>\n<\/td>\n<td data-colwidth=\"139\" width=\"139\">\n<p>1040<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"221\" width=\"221\">\n<p>inline.cpp<\/p>\n<\/td>\n<td data-colwidth=\"86\" width=\"86\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"50\" width=\"50\">\n<p>O0<\/p>\n<\/td>\n<td data-colwidth=\"132\" width=\"132\">\n<p>14,598<\/p>\n<\/td>\n<td data-colwidth=\"139\" width=\"139\">\n<p>1976<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"221\" width=\"221\">\n<p>concept.cpp<\/p>\n<\/td>\n<td data-colwidth=\"86\" width=\"86\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"50\" width=\"50\">\n<p>O0<\/p>\n<\/td>\n<td data-colwidth=\"132\" width=\"132\">\n<p>14,640<\/p>\n<\/td>\n<td data-colwidth=\"139\" width=\"139\">\n<p>1976<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"221\" width=\"221\">\n<p>concept.cpp<\/p>\n<\/td>\n<td data-colwidth=\"86\" width=\"86\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"50\" width=\"50\">\n<p>O3<\/p>\n<\/td>\n<td data-colwidth=\"132\" width=\"132\">\n<p>14,872<\/p>\n<\/td>\n<td data-colwidth=\"139\" width=\"139\">\n<p>1224<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"221\" width=\"221\">\n<p>inline.cpp<\/p>\n<\/td>\n<td data-colwidth=\"86\" width=\"86\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"50\" width=\"50\">\n<p>O3<\/p>\n<\/td>\n<td data-colwidth=\"132\" width=\"132\">\n<p>14,951<\/p>\n<\/td>\n<td data-colwidth=\"139\" width=\"139\">\n<p>1224   <\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u041a\u0430\u043a \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c,&nbsp;\u0440\u0430\u0437\u043c\u0435\u0440\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0432\u0448\u0438\u0445\u0441\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u043d\u044b, \u0430 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0442. \u0422\u0430\u043a \u0447\u0442\u043e \u043f\u0440\u0438 \u0432\u044b\u0431\u043e\u0440\u0435 \u043a\u043e\u043d\u0446\u0435\u043f\u0442 \u0438\u043b\u0438&nbsp;inline-\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u0435&nbsp;\u043c\u043e\u0436\u043d\u043e&nbsp;\u043d\u0435&nbsp;\u0437\u0430\u0434\u0443\u043c\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430.  <\/p>\n<h4>\u042d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442 \u21164: \u0412\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u0438  <\/h4>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u043d\u0430\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u043d\u0430 \u0448\u0430\u0431\u043b\u043e\u043d\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0439. \u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u043c\u043e\u0436\u043d\u043e \u0430\u0436 \u0447\u0435\u0442\u044b\u0440\u044c\u043c\u044f \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438:&nbsp;<\/p>\n<ul>\n<li>\n<p>\u0418\u043c\u044f \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u0430 \u0432\u043c\u0435\u0441\u0442\u043e&nbsp;<code>typename<\/code>&nbsp;<\/p>\n<\/li>\n<li>\n<p>Requires clause&nbsp;\u043f\u043e\u0441\u043b\u0435&nbsp;<code>template&lt;&gt;<\/code>&nbsp;<\/p>\n<\/li>\n<li>\n<p>\u0418\u043c\u044f \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u0430 \u0440\u044f\u0434\u043e\u043c \u0441&nbsp;<code>auto<\/code>&nbsp;<\/p>\n<\/li>\n<li>\n<p>Trailing requires&nbsp;clause&nbsp;<\/p>\n<\/li>\n<\/ul>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0443\u0437\u043d\u0430\u0435\u043c, \u043a\u0430\u043a\u043e\u0439 \u0436\u0435 \u0438\u0437 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0445 \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432 \u0441\u0430\u043c\u044b\u0439 \u043e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0441 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438. \u041a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u043c\u044b\u0439 \u043a\u043e\u0434 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u043d\u0438\u0436\u0435:<\/p>\n<details class=\"spoiler\">\n<summary>\u041a\u043e\u0434<\/summary>\n<div class=\"spoiler__content\">\n<details class=\"spoiler\">\n<summary>instead_of_typename.cpp<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"cpp\">template&lt;typename T&gt; concept IsBig = sizeof(T) &gt;= 4;  template&lt;IsBig T&gt; void foo(T const &amp;) { }  template&lt;typename T&gt; void foo(T const &amp;) {}  void later() {     foo&lt;char&gt;('a');     foo&lt;int&gt;(1); } <\/code><\/pre>\n<\/div>\n<\/details>\n<details class=\"spoiler\">\n<summary>after_template.cpp<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"cpp\">template&lt;typename T&gt; concept IsBig = sizeof(T) &gt;= 4;  template&lt;typename T&gt;     requires IsBig&lt;T&gt; void foo(T const &amp;) { }  template&lt;typename T&gt; void foo(T const &amp;) {}  void later() {     foo&lt;char&gt;('a');     foo&lt;int&gt;(1); } <\/code><\/pre>\n<\/div>\n<\/details>\n<details class=\"spoiler\">\n<summary>with_auto.cpp<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"cpp\">template&lt;typename T&gt; concept IsBig = sizeof(T) &gt;= 4;  template&lt;typename T&gt; void foo(IsBig auto const &amp;) { }  template&lt;typename T&gt; void foo(auto const &amp;) {}  void later() {     foo&lt;char&gt;('a');     foo&lt;int&gt;(1); } <\/code><\/pre>\n<\/div>\n<\/details>\n<details class=\"spoiler\">\n<summary>requires_clause.cpp<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"cpp\">template&lt;typename T&gt; concept IsBig = sizeof(T) &gt;= 4;  template&lt;typename T&gt; void foo(T const &amp;) requires IsBig&lt;T&gt; { }  template&lt;typename T&gt; void foo(T const &amp;) {}  void later() {     foo&lt;char&gt;('a');     foo&lt;int&gt;(1); } <\/code><\/pre>\n<\/div>\n<\/details>\n<\/div>\n<\/details>\n<p>\u0410 \u0432\u043e\u0442 \u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b:<\/p>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"284\" width=\"284\">\n<p>\u0424\u0430\u0439\u043b<\/p>\n<\/td>\n<td colspan=\"2\" data-colwidth=\"97,61\" width=\"97\">\n<p>\u041a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f<\/p>\n<\/td>\n<td>\n<p>\u0412\u0440\u0435\u043c\u044f, \u043c\u0441<\/p>\n<\/td>\n<td>\n<p>\u0420\u0430\u0437\u043c\u0435\u0440 \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430, \u0431\u0430\u0439\u0442<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"284\" width=\"284\">\n<p>function_with_auto.cpp<\/p>\n<\/td>\n<td data-colwidth=\"97\" width=\"97\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"61\" width=\"61\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>40,878<\/p>\n<\/td>\n<td>\n<p>1760<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"284\" width=\"284\">\n<p>function_after_template.cpp<\/p>\n<\/td>\n<td data-colwidth=\"97\" width=\"97\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"61\" width=\"61\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>41,947<\/p>\n<\/td>\n<td>\n<p>1760<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"284\" width=\"284\">\n<p>function_requires_clause.cpp<\/p>\n<\/td>\n<td data-colwidth=\"97\" width=\"97\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"61\" width=\"61\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>42,551<\/p>\n<\/td>\n<td>\n<p>1760<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"284\" width=\"284\">\n<p>function_instead_of_typename.cpp<\/p>\n<\/td>\n<td data-colwidth=\"97\" width=\"97\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"61\" width=\"61\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>46,893<\/p>\n<\/td>\n<td>\n<p>1760<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"284\" width=\"284\">\n<p>function_with_auto.cpp<\/p>\n<\/td>\n<td data-colwidth=\"97\" width=\"97\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"61\" width=\"61\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>43,928<\/p>\n<\/td>\n<td>\n<p>1024<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"284\" width=\"284\">\n<p>function_requires_clause.cpp<\/p>\n<\/td>\n<td data-colwidth=\"97\" width=\"97\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"61\" width=\"61\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>45,176<\/p>\n<\/td>\n<td>\n<p>1032<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"284\" width=\"284\">\n<p>function_after_template.cpp<\/p>\n<\/td>\n<td data-colwidth=\"97\" width=\"97\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"61\" width=\"61\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>45,275<\/p>\n<\/td>\n<td>\n<p>1032<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"284\" width=\"284\">\n<p>function_instead_of_typename.cpp<\/p>\n<\/td>\n<td data-colwidth=\"97\" width=\"97\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"61\" width=\"61\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>50,42<\/p>\n<\/td>\n<td>\n<p>1032<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"284\" width=\"284\">\n<p>function_requires_clause.cpp<\/p>\n<\/td>\n<td data-colwidth=\"97\" width=\"97\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"61\" width=\"61\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>16,561<\/p>\n<\/td>\n<td>\n<p>2008<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"284\" width=\"284\">\n<p>function_with_auto.cpp<\/p>\n<\/td>\n<td data-colwidth=\"97\" width=\"97\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"61\" width=\"61\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>16,692<\/p>\n<\/td>\n<td>\n<p>2008<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"284\" width=\"284\">\n<p>function_after_template.cpp<\/p>\n<\/td>\n<td data-colwidth=\"97\" width=\"97\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"61\" width=\"61\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>17,032<\/p>\n<\/td>\n<td>\n<p>2008<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"284\" width=\"284\">\n<p>function_instead_of_typename.cpp<\/p>\n<\/td>\n<td data-colwidth=\"97\" width=\"97\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"61\" width=\"61\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>17,802<\/p>\n<\/td>\n<td>\n<p>2016<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"284\" width=\"284\">\n<p>function_requires_clause.cpp<\/p>\n<\/td>\n<td data-colwidth=\"97\" width=\"97\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"61\" width=\"61\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>16,233<\/p>\n<\/td>\n<td>\n<p>1208<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"284\" width=\"284\">\n<p>function_with_auto.cpp<\/p>\n<\/td>\n<td data-colwidth=\"97\" width=\"97\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"61\" width=\"61\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>16,711<\/p>\n<\/td>\n<td>\n<p>1208<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"284\" width=\"284\">\n<p>function_after_template.cpp<\/p>\n<\/td>\n<td data-colwidth=\"97\" width=\"97\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"61\" width=\"61\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>17,216<\/p>\n<\/td>\n<td>\n<p>1208<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"284\" width=\"284\">\n<p>function_instead_of_typename.cpp<\/p>\n<\/td>\n<td data-colwidth=\"97\" width=\"97\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"61\" width=\"61\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>18,315<\/p>\n<\/td>\n<td>\n<p>1216   <\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u041a\u0430\u043a \u043c\u044b \u0432\u0438\u0434\u0438\u043c, \u0432\u0440\u0435\u043c\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043d\u0435\u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u043e\u0434\u043d\u0430\u043a\u043e \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:&nbsp;<\/p>\n<ul>\n<li>\n<p>\u0412\u0430\u0440\u0438\u0430\u043d\u0442 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0438\u043c\u0435\u043d\u0438 \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u0430 \u0432\u043c\u0435\u0441\u0442\u043e&nbsp;<code>typename<\/code>&nbsp;\u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u0441\u0430\u043c\u044b\u043c \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u044b\u043c \u0432\u043e \u0432\u0441\u0435\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445.&nbsp;<\/p>\n<\/li>\n<li>\n<p>\u0412\u0430\u0440\u0438\u0430\u043d\u0442\u044b&nbsp;trailing requires&nbsp;clause&nbsp;\u0438\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u0430 \u0440\u044f\u0434\u043e\u043c \u0441&nbsp;<code>auto<\/code>&nbsp;\u043e\u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c \u0441\u0430\u043c\u044b\u043c\u0438 \u0431\u044b\u0441\u0442\u0440\u044b\u043c\u0438.&nbsp;<\/p>\n<\/li>\n<li>\n<p>\u0412\u0430\u0440\u0438\u0430\u043d\u0442\u044b, \u0433\u0434\u0435 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442&nbsp;<code>template&lt;&gt;<\/code>\u043d\u0430&nbsp;5\u201210% \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u0435\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445.&nbsp;<\/p>\n<\/li>\n<li>\n<p>\u0420\u0430\u0437\u043c\u0435\u0440\u044b&nbsp;\u043e\u0431\u044a\u0435\u043a\u0442\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u0438\u0437\u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u043d\u0435\u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u043e\u0434\u043d\u0430\u043a\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u0430 \u0432\u043c\u0435\u0441\u0442\u043e&nbsp;<code>typename<\/code>&nbsp;\u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u0441\u0430\u043c\u044b\u043c \u043e\u0431\u044a\u0435\u043c\u043d\u044b\u043c \u0432 \u0441\u043b\u0443\u0447\u0430\u0435&nbsp;gcc, \u0430 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0441&nbsp;auto&nbsp;\u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u043d\u0430\u0438\u043c\u0435\u043d\u0435\u0435 \u043e\u0431\u044a\u0435\u043c\u043d\u044b\u043c \u0432 \u0441\u043b\u0443\u0447\u0430\u0435&nbsp;clang.<\/p>\n<\/li>\n<\/ul>\n<h4>\u042d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442 \u21165: \u0412\u043b\u0438\u044f\u043d\u0438\u0435 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u0430 \u043d\u0430 \u0432\u0440\u0435\u043c\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438<\/h4>\n<p>\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435, \u0447\u0442\u043e \u043c\u044b&nbsp;\u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0432 \u0440\u0430\u043c\u043a\u0430\u0445&nbsp;\u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438, \u0438, \u043d\u0430\u0432\u0435\u0440\u043d\u043e\u0435, \u0441\u0430\u043c\u043e\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0435: \u0432\u043b\u0438\u044f\u043d\u0438\u0435 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u0430 \u043d\u0430 \u0432\u0440\u0435\u043c\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0432\u043e\u0437\u044c\u043c\u0451\u043c \u0438 \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b, \u0433\u0434\u0435 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0433\u043e \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u0430 (\u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u043e\u043a \u0438\u043b\u0438 \u0443\u0441\u043b\u043e\u0432\u0438\u0439) \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430\u0435\u0442 \u043e\u0442 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u043a \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u043c\u0443.  <\/p>\n<details class=\"spoiler\">\n<summary>\u041a\u043e\u0434<\/summary>\n<div class=\"spoiler__content\">\n<details class=\"spoiler\">\n<summary>concept_complexity_1.cpp<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"cpp\">template&lt;typename T&gt; concept ConceptA = sizeof(T) &gt;= 1;  template&lt;typename T&gt; concept TestedConcept = ConceptA&lt;T&gt;;  void foo(TestedConcept auto const &amp;) {} void foo(auto const &amp;) {}  void later() {     int i { 0 };     int * ip = &amp;i;      foo(i);     foo(ip); }<\/code><\/pre>\n<\/div>\n<\/details>\n<details class=\"spoiler\">\n<summary>concept_complexity_2.cpp<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"cpp\">template&lt;typename T&gt; concept ConceptA = sizeof(T) &gt;= 1;  template&lt;typename T&gt; concept ConceptB =  requires(T i, int x) {     { i++     } noexcept -&gt; ConceptA;     { ++i     } noexcept -&gt; ConceptA;     { i--     } noexcept -&gt; ConceptA;     { --i     } noexcept -&gt; ConceptA;     { i + i   } noexcept -&gt; ConceptA;     { i - i   } noexcept -&gt; ConceptA;     { i += i  } noexcept -&gt; ConceptA;     { i -= i  } noexcept -&gt; ConceptA;      { i * i      } noexcept -&gt; ConceptA;     { i \/ i      } noexcept -&gt; ConceptA;     { i % i      } noexcept -&gt; ConceptA;     { i *= i     } noexcept -&gt; ConceptA;     { i \/= i     } noexcept -&gt; ConceptA;     { i %= i     } noexcept -&gt; ConceptA;      { i |  i     } noexcept -&gt; ConceptA;     { i &amp;  i     } noexcept -&gt; ConceptA;     { i |= i     } noexcept -&gt; ConceptA;     { i &amp;= i     } noexcept -&gt; ConceptA;      { ~i          } noexcept -&gt; ConceptA;      { i ^  i      } noexcept -&gt; ConceptA;     { i &lt;&lt; x      } noexcept -&gt; ConceptA;     { i &gt;&gt; x      } noexcept -&gt; ConceptA;      { i ^=  i      } noexcept -&gt; ConceptA;     { i &lt;&lt;= x      } noexcept -&gt; ConceptA;     { i &gt;&gt;= x      } noexcept -&gt; ConceptA; };   template&lt;typename T&gt; concept ConceptC =  requires(T i, int x) {     { i++     } noexcept -&gt; ConceptB;     { ++i     } noexcept -&gt; ConceptB;     { i--     } noexcept -&gt; ConceptB;     { --i     } noexcept -&gt; ConceptB;     { i + i   } noexcept -&gt; ConceptB;     { i - i   } noexcept -&gt; ConceptB;     { i += i  } noexcept -&gt; ConceptB;     { i -= i  } noexcept -&gt; ConceptB;      { i * i      } noexcept -&gt; ConceptB;     { i \/ i      } noexcept -&gt; ConceptB;     { i % i      } noexcept -&gt; ConceptB;     { i *= i     } noexcept -&gt; ConceptB;     { i \/= i     } noexcept -&gt; ConceptB;     { i %= i     } noexcept -&gt; ConceptB;      { i |  i     } noexcept -&gt; ConceptB;     { i &amp;  i     } noexcept -&gt; ConceptB;     { i |= i     } noexcept -&gt; ConceptB;     { i &amp;= i     } noexcept -&gt; ConceptB;      { ~i          } noexcept -&gt; ConceptB;      { i ^  i      } noexcept -&gt; ConceptB;     { i &lt;&lt; x      } noexcept -&gt; ConceptB;     { i &gt;&gt; x      } noexcept -&gt; ConceptB;      { i ^=  i      } noexcept -&gt; ConceptB;     { i &lt;&lt;= x      } noexcept -&gt; ConceptB;     { i &gt;&gt;= x      } noexcept -&gt; ConceptB; };   template&lt;typename T&gt; concept ConceptD =  requires(T i, int x) {     { i++     } noexcept -&gt; ConceptC;     { ++i     } noexcept -&gt; ConceptC;     { i--     } noexcept -&gt; ConceptC;     { --i     } noexcept -&gt; ConceptC;     { i + i   } noexcept -&gt; ConceptC;     { i - i   } noexcept -&gt; ConceptC;     { i += i  } noexcept -&gt; ConceptC;     { i -= i  } noexcept -&gt; ConceptC;      { i * i      } noexcept -&gt; ConceptC;     { i \/ i      } noexcept -&gt; ConceptC;     { i % i      } noexcept -&gt; ConceptC;     { i *= i     } noexcept -&gt; ConceptC;     { i \/= i     } noexcept -&gt; ConceptC;     { i %= i     } noexcept -&gt; ConceptC;      { i |  i     } noexcept -&gt; ConceptC;     { i &amp;  i     } noexcept -&gt; ConceptC;     { i |= i     } noexcept -&gt; ConceptC;     { i &amp;= i     } noexcept -&gt; ConceptC;      { ~i          } noexcept -&gt; ConceptC;      { i ^  i      } noexcept -&gt; ConceptC;     { i &lt;&lt; x      } noexcept -&gt; ConceptC;     { i &gt;&gt; x      } noexcept -&gt; ConceptC;      { i ^=  i      } noexcept -&gt; ConceptC;     { i &lt;&lt;= x      } noexcept -&gt; ConceptC;     { i &gt;&gt;= x      } noexcept -&gt; ConceptC; };  template&lt;typename T&gt; concept TestedConcept = ConceptA&lt;T&gt; &amp;&amp; ConceptB&lt;T&gt; &amp;&amp; ConceptC&lt;T&gt; &amp;&amp; ConceptD&lt;T&gt;;   void foo(TestedConcept auto const &amp;) {} void foo(auto const &amp;) {}  void later() {     int i { 0 };     int * ip = &amp;i;      foo(i);     foo(ip); }<\/code><\/pre>\n<\/div>\n<\/details>\n<details class=\"spoiler\">\n<summary>concept_complexity_3.cpp<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"cpp\">template&lt;typename T&gt; concept ConceptA = sizeof(T) &gt;= 1; template&lt;typename T&gt; concept ConceptB =  requires(T i, int x) {     { i++     } noexcept -&gt; ConceptA;     { ++i     } noexcept -&gt; ConceptA;     { i--     } noexcept -&gt; ConceptA;     { --i     } noexcept -&gt; ConceptA;     { i + i   } noexcept -&gt; ConceptA;     { i - i   } noexcept -&gt; ConceptA;     { i += i  } noexcept -&gt; ConceptA;     { i -= i  } noexcept -&gt; ConceptA;      { i * i      } noexcept -&gt; ConceptA;     { i \/ i      } noexcept -&gt; ConceptA;     { i % i      } noexcept -&gt; ConceptA;     { i *= i     } noexcept -&gt; ConceptA;     { i \/= i     } noexcept -&gt; ConceptA;     { i %= i     } noexcept -&gt; ConceptA;      { i |  i     } noexcept -&gt; ConceptA;     { i &amp;  i     } noexcept -&gt; ConceptA;     { i |= i     } noexcept -&gt; ConceptA;     { i &amp;= i     } noexcept -&gt; ConceptA;      { ~i          } noexcept -&gt; ConceptA;      { i ^  i      } noexcept -&gt; ConceptA;     { i &lt;&lt; x      } noexcept -&gt; ConceptA;     { i &gt;&gt; x      } noexcept -&gt; ConceptA;      { i ^=  i      } noexcept -&gt; ConceptA;     { i &lt;&lt;= x      } noexcept -&gt; ConceptA;     { i &gt;&gt;= x      } noexcept -&gt; ConceptA; };   template&lt;typename T&gt; concept ConceptC =  requires(T i, int x) {     { i++     } noexcept -&gt; ConceptB;     { ++i     } noexcept -&gt; ConceptB;     { i--     } noexcept -&gt; ConceptB;     { --i     } noexcept -&gt; ConceptB;     { i + i   } noexcept -&gt; ConceptB;     { i - i   } noexcept -&gt; ConceptB;     { i += i  } noexcept -&gt; ConceptB;     { i -= i  } noexcept -&gt; ConceptB;      { i * i      } noexcept -&gt; ConceptB;     { i \/ i      } noexcept -&gt; ConceptB;     { i % i      } noexcept -&gt; ConceptB;     { i *= i     } noexcept -&gt; ConceptB;     { i \/= i     } noexcept -&gt; ConceptB;     { i %= i     } noexcept -&gt; ConceptB;      { i |  i     } noexcept -&gt; ConceptB;     { i &amp;  i     } noexcept -&gt; ConceptB;     { i |= i     } noexcept -&gt; ConceptB;     { i &amp;= i     } noexcept -&gt; ConceptB;      { ~i          } noexcept -&gt; ConceptB;      { i ^  i      } noexcept -&gt; ConceptB;     { i &lt;&lt; x      } noexcept -&gt; ConceptB;     { i &gt;&gt; x      } noexcept -&gt; ConceptB;      { i ^=  i      } noexcept -&gt; ConceptB;     { i &lt;&lt;= x      } noexcept -&gt; ConceptB;     { i &gt;&gt;= x      } noexcept -&gt; ConceptB; };   template&lt;typename T&gt; concept ConceptD =  requires(T i, int x) {     { i++     } noexcept -&gt; ConceptC;     { ++i     } noexcept -&gt; ConceptC;     { i--     } noexcept -&gt; ConceptC;     { --i     } noexcept -&gt; ConceptC;     { i + i   } noexcept -&gt; ConceptC;     { i - i   } noexcept -&gt; ConceptC;     { i += i  } noexcept -&gt; ConceptC;     { i -= i  } noexcept -&gt; ConceptC;      { i * i      } noexcept -&gt; ConceptC;     { i \/ i      } noexcept -&gt; ConceptC;     { i % i      } noexcept -&gt; ConceptC;     { i *= i     } noexcept -&gt; ConceptC;     { i \/= i     } noexcept -&gt; ConceptC;     { i %= i     } noexcept -&gt; ConceptC;      { i |  i     } noexcept -&gt; ConceptC;     { i &amp;  i     } noexcept -&gt; ConceptC;     { i |= i     } noexcept -&gt; ConceptC;     { i &amp;= i     } noexcept -&gt; ConceptC;      { ~i          } noexcept -&gt; ConceptC;      { i ^  i      } noexcept -&gt; ConceptC;     { i &lt;&lt; x      } noexcept -&gt; ConceptC;     { i &gt;&gt; x      } noexcept -&gt; ConceptC;      { i ^=  i      } noexcept -&gt; ConceptC;     { i &lt;&lt;= x      } noexcept -&gt; ConceptC;     { i &gt;&gt;= x      } noexcept -&gt; ConceptC; };  template&lt;typename T&gt; concept ConceptE =  requires(T i, int x) {     { i++     } noexcept -&gt; ConceptD;     { ++i     } noexcept -&gt; ConceptD;     { i--     } noexcept -&gt; ConceptD;     { --i     } noexcept -&gt; ConceptD;     { i + i   } noexcept -&gt; ConceptD;     { i - i   } noexcept -&gt; ConceptD;     { i += i  } noexcept -&gt; ConceptD;     { i -= i  } noexcept -&gt; ConceptD;      { i * i      } noexcept -&gt; ConceptD;     { i \/ i      } noexcept -&gt; ConceptD;     { i % i      } noexcept -&gt; ConceptD;     { i *= i     } noexcept -&gt; ConceptD;     { i \/= i     } noexcept -&gt; ConceptD;     { i %= i     } noexcept -&gt; ConceptD;      { i |  i     } noexcept -&gt; ConceptD;     { i &amp;  i     } noexcept -&gt; ConceptD;     { i |= i     } noexcept -&gt; ConceptD;     { i &amp;= i     } noexcept -&gt; ConceptD;      { ~i          } noexcept -&gt; ConceptD;      { i ^  i      } noexcept -&gt; ConceptD;     { i &lt;&lt; x      } noexcept -&gt; ConceptD;     { i &gt;&gt; x      } noexcept -&gt; ConceptD;      { i ^=  i      } noexcept -&gt; ConceptD;     { i &lt;&lt;= x      } noexcept -&gt; ConceptD;     { i &gt;&gt;= x      } noexcept -&gt; ConceptD; };  template&lt;typename T&gt; concept ConceptF =  requires(T i, int x) {     { i++     } noexcept -&gt; ConceptE;     { ++i     } noexcept -&gt; ConceptE;     { i--     } noexcept -&gt; ConceptE;     { --i     } noexcept -&gt; ConceptE;     { i + i   } noexcept -&gt; ConceptE;     { i - i   } noexcept -&gt; ConceptE;     { i += i  } noexcept -&gt; ConceptE;     { i -= i  } noexcept -&gt; ConceptE;      { i * i      } noexcept -&gt; ConceptE;     { i \/ i      } noexcept -&gt; ConceptE;     { i % i      } noexcept -&gt; ConceptE;     { i *= i     } noexcept -&gt; ConceptE;     { i \/= i     } noexcept -&gt; ConceptE;     { i %= i     } noexcept -&gt; ConceptE;      { i |  i     } noexcept -&gt; ConceptE;     { i &amp;  i     } noexcept -&gt; ConceptE;     { i |= i     } noexcept -&gt; ConceptE;     { i &amp;= i     } noexcept -&gt; ConceptE;      { ~i          } noexcept -&gt; ConceptE;      { i ^  i      } noexcept -&gt; ConceptE;     { i &lt;&lt; x      } noexcept -&gt; ConceptE;     { i &gt;&gt; x      } noexcept -&gt; ConceptE;      { i ^=  i      } noexcept -&gt; ConceptE;     { i &lt;&lt;= x      } noexcept -&gt; ConceptE;     { i &gt;&gt;= x      } noexcept -&gt; ConceptE; };  template&lt;typename T&gt; concept ConceptG =  requires(T i, int x) {     { i++     } noexcept -&gt; ConceptF;     { ++i     } noexcept -&gt; ConceptF;     { i--     } noexcept -&gt; ConceptF;     { --i     } noexcept -&gt; ConceptF;     { i + i   } noexcept -&gt; ConceptF;     { i - i   } noexcept -&gt; ConceptF;     { i += i  } noexcept -&gt; ConceptF;     { i -= i  } noexcept -&gt; ConceptF;      { i * i      } noexcept -&gt; ConceptF;     { i \/ i      } noexcept -&gt; ConceptF;     { i % i      } noexcept -&gt; ConceptF;     { i *= i     } noexcept -&gt; ConceptF;     { i \/= i     } noexcept -&gt; ConceptF;     { i %= i     } noexcept -&gt; ConceptF;      { i |  i     } noexcept -&gt; ConceptF;     { i &amp;  i     } noexcept -&gt; ConceptF;     { i |= i     } noexcept -&gt; ConceptF;     { i &amp;= i     } noexcept -&gt; ConceptF;      { ~i          } noexcept -&gt; ConceptF;      { i ^  i      } noexcept -&gt; ConceptF;     { i &lt;&lt; x      } noexcept -&gt; ConceptF;     { i &gt;&gt; x      } noexcept -&gt; ConceptF;      { i ^=  i      } noexcept -&gt; ConceptF;     { i &lt;&lt;= x      } noexcept -&gt; ConceptF;     { i &gt;&gt;= x      } noexcept -&gt; ConceptF; };  template&lt;typename T&gt; concept TestedConcept = ConceptA&lt;T&gt; &amp;&amp; ConceptB&lt;T&gt; &amp;&amp; ConceptC&lt;T&gt; &amp;&amp; ConceptD&lt;T&gt; &amp;&amp;                                        ConceptE&lt;T&gt; &amp;&amp; ConceptF&lt;T&gt; &amp;&amp; ConceptG&lt;T&gt;;   void foo(TestedConcept auto const &amp;) {} void foo(auto const &amp;) {}  void later() {     int i { 0 };     int * ip = &amp;i;      foo(i);     foo(ip); }<\/code><\/pre>\n<\/div>\n<\/details>\n<\/div>\n<\/details>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0432\u0437\u0433\u043b\u044f\u043d\u0435\u043c \u043d\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/p>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"239\" width=\"239\">\n<p>\u0424\u0430\u0439\u043b<\/p>\n<\/td>\n<td colspan=\"2\" data-colwidth=\"92,88\" width=\"92\">\n<p>\u041a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f<\/p>\n<\/td>\n<td>\n<p>\u0412\u0440\u0435\u043c\u044f, \u043c\u0441<\/p>\n<\/td>\n<td>\n<p>\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432, \u0448\u0442<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"239\" width=\"239\">\n<p>concept_complexity_1.cpp<\/p>\n<\/td>\n<td data-colwidth=\"92\" width=\"92\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"88\" width=\"88\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>37,441<\/p>\n<\/td>\n<td>\n<p>201<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"239\" width=\"239\">\n<p>concept_complexity_2.cpp<\/p>\n<\/td>\n<td data-colwidth=\"92\" width=\"92\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"88\" width=\"88\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>38,211<\/p>\n<\/td>\n<td>\n<p>2244<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"239\" width=\"239\">\n<p>concept_complexity_3.cpp<\/p>\n<\/td>\n<td data-colwidth=\"92\" width=\"92\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"88\" width=\"88\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>39,989<\/p>\n<\/td>\n<td>\n<p>4287<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"239\" width=\"239\">\n<p>concept_complexity_1.cpp<\/p>\n<\/td>\n<td data-colwidth=\"92\" width=\"92\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"88\" width=\"88\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>40,062<\/p>\n<\/td>\n<td>\n<p>201<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"239\" width=\"239\">\n<p>concept_complexity_2.cpp<\/p>\n<\/td>\n<td data-colwidth=\"92\" width=\"92\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"88\" width=\"88\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>40,659<\/p>\n<\/td>\n<td>\n<p>2244<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"239\" width=\"239\">\n<p>concept_complexity_3.cpp<\/p>\n<\/td>\n<td data-colwidth=\"92\" width=\"92\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"88\" width=\"88\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>43,314<\/p>\n<\/td>\n<td>\n<p>4287<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"239\" width=\"239\">\n<p>concept_complexity_1.cpp<\/p>\n<\/td>\n<td data-colwidth=\"92\" width=\"92\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"88\" width=\"88\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>15,352<\/p>\n<\/td>\n<td>\n<p>201<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"239\" width=\"239\">\n<p>concept_complexity_2.cpp<\/p>\n<\/td>\n<td data-colwidth=\"92\" width=\"92\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"88\" width=\"88\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>16,077<\/p>\n<\/td>\n<td>\n<p>2244<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"239\" width=\"239\">\n<p>concept_complexity_3.cpp<\/p>\n<\/td>\n<td data-colwidth=\"92\" width=\"92\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"88\" width=\"88\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>18,091<\/p>\n<\/td>\n<td>\n<p>4287<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"239\" width=\"239\">\n<p>concept_complexity_1.cpp<\/p>\n<\/td>\n<td data-colwidth=\"92\" width=\"92\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"88\" width=\"88\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>15,243<\/p>\n<\/td>\n<td>\n<p>201<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"239\" width=\"239\">\n<p>concept_complexity_2.cpp<\/p>\n<\/td>\n<td data-colwidth=\"92\" width=\"92\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"88\" width=\"88\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>17,552<\/p>\n<\/td>\n<td>\n<p>2244<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"239\" width=\"239\">\n<p>concept_complexity_3.cpp<\/p>\n<\/td>\n<td data-colwidth=\"92\" width=\"92\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"88\" width=\"88\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>18,51<\/p>\n<\/td>\n<td>\n<p>4287<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u0427\u0435\u0433\u043e \u0438 \u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043b\u043e \u043e\u0436\u0438\u0434\u0430\u0442\u044c, \u0432 \u043e\u0431\u0449\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u0443\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0438\u0435 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u0430 (\u043e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u044b \u0432 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445 \u0440\u0435\u043a\u0443\u0440\u0441\u0438\u0432\u043d\u044b\u0435,&nbsp;\u0438 \u043a\u0430\u0436\u0434\u044b\u0439 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u043c\u043d\u043e\u0433\u043e\u043a\u0440\u0430\u0442\u043d\u044b\u0435 \u043e\u0442\u0441\u044b\u043b\u043a\u0438 \u043a \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u043c) \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u043a \u0443\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0438\u044e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438&nbsp;\u043b\u0438\u0448\u044c&nbsp;\u043d\u0430 5\u201215%.<\/p>\n<h3>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h3>\n<p>\u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0432\u044b\u0448\u0435\u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0445 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u043e\u0432 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0432\u044b\u0432\u043e\u0434\u044b:&nbsp;<\/p>\n<ul>\n<li>\n<p>\u041a\u043e\u043d\u0446\u0435\u043f\u0442\u044b \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0431\u043e\u043b\u0435\u0435 \u0447\u0438\u0442\u0430\u0431\u0435\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0432 \u043c\u0435\u043d\u044c\u0448\u0438\u0439 \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u044b\u0439 \u0444\u0430\u0439\u043b, \u043f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u043c&nbsp;\u043c\u0435\u0442\u0430\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c.&nbsp;<\/p>\n<\/li>\n<li>\n<p>\u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u044d\u0442\u043e, \u043a\u043e\u0434, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439 \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u044b\/constraint\u2019\u044b&nbsp;\u0437\u0430\u0447\u0430\u0441\u0442\u0443\u044e \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0434\u043e\u043b\u044c\u0448\u0435, \u0438\u043d\u043e\u0433\u0434\u0430 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u043a\u0430\u043a \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u043c\u0435\u0442\u043e\u0434\u043e\u0432.&nbsp;<\/p>\n<\/li>\n<li>\n<p>\u0412\u0440\u0435\u043c\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u043f\u0440\u044f\u043c\u043e \u043f\u0440\u043e\u043f\u043e\u0440\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u043e\u0432\/constraint&#8217;\u043e\u0432.<\/p>\n<\/li>\n<\/ul>\n<h3>Post Scriptum<\/h3>\n<p>\u0412\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u043a \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u0440\u0438\u043b\u0430\u0433\u0430\u044e&nbsp;<a href=\"https:\/\/github.com\/alex-ganyukhin\/concepts-measurements\"><u>\u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u0433\u0438\u0442\u0445\u0430\u0431<\/u><\/a>, \u043f\u0440\u043e\u0439\u0434\u044f \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0430\u0439\u0442\u0438&nbsp;\u0441\u043a\u0440\u0438\u043f\u0442\u044b&nbsp;\u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0442\u0435\u0441\u0442\u043e\u0432,&nbsp;\u0430 \u0442\u0430\u043a\u0436\u0435&nbsp;\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435&nbsp;\u0432 \u0441\u0442\u0430\u0442\u044c\u0435&nbsp;\u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u044b \u043a\u043e\u0434\u0430 \u0438 \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 (\u0430 \u043c\u043e\u0436\u0435\u0442 \u0438 \u0432\u0441\u0435) \u0442\u0435\u0441\u0442\u044b \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e.&nbsp;&nbsp;<\/p>\n<p>\u041d\u0443 \u0430 \u0432\u043e-\u0432\u0442\u043e\u0440\u044b\u0445,&nbsp;\u043c\u043d\u0435 \u0431\u044b&nbsp;\u043e\u0447\u0435\u043d\u044c \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c&nbsp;\u0443\u0432\u0438\u0434\u0435\u0442\u044c, \u043a\u0430\u043a \u0432\u0435\u0434\u0443\u0442 \u0441\u0435\u0431\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u044b \u0441 \u0431\u043e\u043b\u0435\u0435 \u0441\u043b\u043e\u0436\u043d\u044b\u043c\u0438 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f\u043c\u0438.&nbsp;\u0415\u0441\u043b\u0438 \u0432\u044b \u0437\u043d\u0430\u0435\u0442\u0435\/\u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043b\u0438 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438\u0435&nbsp;\u043f\u0440\u0438\u043c\u0435\u0440\u044b, \u0441\u043c\u0435\u043b\u043e&nbsp;\u043f\u0438\u0448\u0438\u0442\u0435 \u043e \u043d\u0438\u0445 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445,&nbsp;\u0438&nbsp;\u044f&nbsp;\u0441 \u0440\u0430\u0434\u043e\u0441\u0442\u044c\u044e&nbsp;\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0443&nbsp;\u0437\u0430\u043c\u0435\u0440\u044b.&nbsp;<\/p>\n<\/p>\n<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/company\/orioninc\/blog\/562410\/\"> https:\/\/habr.com\/ru\/company\/orioninc\/blog\/562410\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text_v2\" id=\"post-content-body\">\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0440\u0438\u0432\u0435\u0442, \u043c\u0435\u043d\u044f \u0437\u043e\u0432\u0443\u0442 \u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440, \u044f \u0441\u0442\u0430\u0440\u0448\u0438\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u041f\u041e \u0432 \u0426\u0435\u043d\u0442\u0440\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438&nbsp;Orion&nbsp;Innovation. \u0425\u043e\u0447\u0443 \u043f\u0440\u0438\u0437\u043d\u0430\u0442\u044c\u0441\u044f, \u044f \u043b\u044e\u0431\u043b\u044e \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043f\u0440\u043e C++ \u0438 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u043c\u0438\u0442\u0430\u043f\u0430\u0445 \u0438 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u044f\u0445.&nbsp;\u0418&nbsp;\u0432\u043e\u0442&nbsp;\u044f&nbsp;\u0434\u043e\u0431\u0440\u0430\u043b\u0441\u044f \u0434\u043e&nbsp;\u0425\u0430\u0431\u0440\u0430. \u041d\u0430&nbsp;CppConf&nbsp;Russia&nbsp;Piter&nbsp;2020 \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u043b \u043f\u0440\u043e \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u044b \u0438 \u043f\u043e\u0441\u043b\u0435&nbsp;\u0432\u044b\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u044f&nbsp;\u043f\u043e\u043b\u0443\u0447\u0438\u043b&nbsp;\u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u0432 \u043f\u0440\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430 \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441&nbsp;\u043d\u0438\u043c\u0438.&nbsp;\u0417\u0430\u043c\u0435\u0440\u044b \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043d\u0435 \u0431\u044b\u043b\u0438 \u0446\u0435\u043b\u044c\u044e&nbsp;\u043c\u043e\u0435\u0433\u043e&nbsp;\u0434\u043e\u043a\u043b\u0430\u0434\u0430:&nbsp;\u043c\u043d\u0435 \u0431\u044b\u043b\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e, \u0447\u0442\u043e \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u044b \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u0441 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a\u043e\u0439 \u0436\u0435 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c\u044e, \u0447\u0442\u043e \u0438 \u043e\u0431\u044b\u0447\u043d\u044b\u0435 \u043c\u0435\u0442\u0430\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b,&nbsp;\u0430&nbsp;\u0434\u043e&nbsp;\u0434\u0435\u0442\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u044f \u0441\u043c\u043e\u0433 \u0434\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u043d\u0435\u0434\u0430\u0432\u043d\u043e.&nbsp;\u0421\u043f\u0435\u0448\u0443&nbsp;\u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c!&nbsp;<\/p>\n<h3>\u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043b\u043e\u0432 \u043e \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u0430\u0445<\/h3>\n<p>\u041a\u043e\u043d\u0446\u0435\u043f\u0442\u044b&nbsp;\u2014&nbsp;\u043f\u0435\u0440\u0435\u043e\u0441\u043c\u044b\u0441\u043b\u0435\u043d\u0438\u0435&nbsp;\u043c\u0435\u0442\u0430\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e\u0435&nbsp;constexpr.&nbsp;\u0415\u0441\u043b\u0438&nbsp;constexpr&nbsp;\u2014&nbsp;\u044d\u0442\u043e \u043f\u0440\u043e \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0439&nbsp;\u0432\u043e \u0432\u0440\u0435\u043c\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438, \u0431\u0443\u0434\u044c \u0442\u043e \u0444\u0430\u043a\u0442\u043e\u0440\u0438\u0430\u043b, \u044d\u043a\u0441\u043f\u043e\u043d\u0435\u043d\u0442\u0430 \u0438 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435, \u0442\u043e \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u044b&nbsp;\u2014&nbsp;\u044d\u0442\u043e \u043f\u0440\u043e \u043f\u0435\u0440\u0435\u0433\u0440\u0443\u0437\u043a\u0438, \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438, \u0443\u0441\u043b\u043e\u0432\u0438\u044f \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0435\u0439.&nbsp;\u0412&nbsp;\u043e\u0431\u0449\u0435\u043c, \u043f\u0440\u043e \u00ab\u0447\u0438\u0441\u0442\u043e\u0435&nbsp;\u043c\u0435\u0442\u0430\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u00bb. \u0418\u043d\u044b\u043c\u0438 \u0441\u043b\u043e\u0432\u0430\u043c\u0438, \u0432 C++20 \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438&nbsp;\u0431\u0435\u0437 \u0435\u0434\u0438\u043d\u043e\u0439, \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u043e\u0439 \u0434\u043b\u044f \u043d\u0430\u0441 \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u043e\u0439 \u0441\u043a\u043e\u0431\u043a\u0438, \u0442\u0435\u043c \u0441\u0430\u043c\u044b\u043c \u043f\u043e\u043b\u0443\u0447\u0430\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0431\u044b\u0441\u0442\u0440\u043e \u0438 \u0447\u0438\u0442\u0430\u0435\u043c\u043e \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u043a\u0430\u043a\u0443\u044e-\u043b\u0438\u0431\u043e \u043f\u0435\u0440\u0435\u0433\u0440\u0443\u0437\u043a\u0443 \u0438\u043b\u0438 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e:  <\/p>\n<pre><code class=\"cpp\">\/\/ #1 void increment(auto &amp; arg) requires requires { ++arg; };  \/\/ #2 void increment(auto &amp;);  struct Incrementable { Incrementable &amp; operator++() { return *this; } }; struct NonIncrementable {};  void later() {     Incrementable     i;     NonIncrementable ni;     increment(i);  \/\/ \u0412\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f #1     increment(ni); \/\/ \u0412\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f #2 } <\/code><\/pre>\n<p>\u041e \u0442\u043e\u043c, \u043a\u0430\u043a \u0432\u0441\u0451 \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u0435\u0441\u0442\u044c \u043c\u043e\u0440\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438,&nbsp;\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043e\u0442\u043b\u0438\u0447\u043d\u044b\u0439 \u0433\u0430\u0439\u0434 &#171;<a href=\"https:\/\/habr.com\/ru\/company\/jugru\/blog\/467299\/\"><u>\u041a\u043e\u043d\u0446\u0435\u043f\u0442\u044b: \u0443\u043f\u0440\u043e\u0449\u0430\u0435\u043c \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u043a\u043b\u0430\u0441\u0441\u043e\u0432 STD Utility<\/u><\/a>&#187; \u043f\u043e \u043c\u043e\u0442\u0438\u0432\u0430\u043c \u0432\u044b\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u044f \u0410\u043d\u0434\u0440\u0435\u044f \u0414\u0430\u0432\u044b\u0434\u043e\u0432\u0430 \u043d\u0430 C++ Russia 2019. \u041d\u0443 \u0430 \u043c\u044b \u0441\u0444\u043e\u043a\u0443\u0441\u0438\u0440\u0443\u0435\u043c\u0441\u044f \u043d\u0430 \u0442\u043e\u043c, \u043a\u0430\u043a\u043e\u0439 \u0446\u0435\u043d\u043e\u0439 \u0434\u043e\u0441\u0442\u0438\u0433\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b, \u0447\u0442\u043e\u0431\u044b \u0443\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e&nbsp;\u044d\u0442\u043e&nbsp;\u043d\u0435&nbsp;\u0442\u043e\u043b\u044c\u043a\u043e&nbsp;\u043f\u0440\u043e\u0441\u0442\u043e, \u0431\u044b\u0441\u0442\u0440\u043e \u0438 \u043a\u0440\u0430\u0441\u0438\u0432\u043e, \u043d\u043e&nbsp;\u0435\u0449\u0451&nbsp;\u0438 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e.  <\/p>\n<h3>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430<\/h3>\n<p>\u0418\u0442\u0430\u043a, \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043d\u0430\u0431\u043b\u044e\u0434\u0430\u0442\u044c \u0437\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c\u0438 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044f\u043c\u0438:&nbsp;<\/p>\n<ol>\n<li>\n<p>\u0412\u0440\u0435\u043c\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438&nbsp;<\/p>\n<\/li>\n<\/ol>\n<ol start=\"2\">\n<li>\n<p>\u0420\u0430\u0437\u043c\u0435\u0440 \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430&nbsp;<\/p>\n<\/li>\n<\/ol>\n<ol start=\"3\">\n<li>\n<p>\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0432 \u0437\u0430\u043f\u0438\u0441\u0438 (\u0438\u043b\u0438 \u0436\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043e\u0434\u0430), \u0432 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445&nbsp;<\/p>\n<\/li>\n<\/ol>\n<p>\u041f\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043c \u043c\u044b \u043d\u0430\u0447\u043d\u0451\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0430\u0436\u043d\u044b\u0445 \u0443\u0442\u043e\u0447\u043d\u0435\u043d\u0438\u0439:&nbsp;<\/p>\n<ul>\n<li>\n<p>\u0412\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u043f\u0440\u0438 \u043f\u043e\u0434\u0441\u0447\u0451\u0442\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0432 \u0437\u0430\u043f\u0438\u0441\u0438 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0441\u0447\u0438\u0442\u0430\u0442\u044c \u0432\u0441\u0435 \u043d\u0435 \u043f\u0443\u0441\u0442\u044b\u0435.&nbsp;<\/p>\n<\/li>\n<li>\n<p>\u0412\u043e-\u0432\u0442\u043e\u0440\u044b\u0445, \u0432 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043b\u0438\u0448\u044c \u043d\u0430 \u0441\u0430\u043c\u044b\u0435 \u043f\u0440\u043e\u0441\u0442\u044b\u0435 (\u0431\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0442\u0440\u043e\u043a) \u0441\u043b\u0443\u0447\u0430\u0438, \u0447\u0442\u043e\u0431\u044b \u0431\u044b\u0442\u044c \u0443\u0432\u0435\u0440\u0435\u043d\u043d\u044b\u043c\u0438 \u043d\u0430 100%, \u0447\u0442\u043e \u043c\u044b \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u043c \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0435 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u044b \u043a\u043e\u0434\u0430.&nbsp;<\/p>\n<\/li>\n<li>\n<p>\u0412-\u0442\u0440\u0435\u0442\u044c\u0438\u0445, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u043c\u044b\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u043a\u0440\u0430\u0439\u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u044b, \u0432\u0440\u0435\u043c\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u0432\u044b\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u0432 \u0434\u0435\u0441\u044f\u0442\u043a\u0430\u0445 \u043c\u0438\u043b\u043b\u0438\u0441\u0435\u043a\u0443\u043d\u0434.&nbsp;\u0427\u0442\u043e\u0431\u044b \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u044c&nbsp;\u043f\u043e\u0433\u0440\u0435\u0448\u043d\u043e\u0441\u0442\u044c, \u0434\u043b\u044f&nbsp;\u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0443\u0441\u0440\u0435\u0434\u043d\u0451\u043d\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0437\u0430&nbsp;<strong>100<\/strong>&nbsp;\u0437\u0430\u043f\u0443\u0441\u043a\u043e\u0432.<\/p>\n<\/li>\n<\/ul>\n<p>\u0412 \u0437\u0430\u043c\u0435\u0440\u0430\u0445 \u0431\u0443\u0434\u0443\u0442 \u0443\u0447\u0430\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c <strong>clang 12.0.0 <\/strong>\u0438 <strong>g++ 10.3.0<\/strong>, \u043a\u0430\u043a \u0441 \u043f\u043e\u043b\u043d\u043e\u0439 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0435\u0439, \u0442\u0430\u043a \u0438 \u0431\u0435\u0437 \u043d\u0435\u0451.<\/p>\n<p>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0432\u044b\u0441\u0442\u0443\u043f\u0438\u0442 Ubuntu 16.04, \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043d\u0430\u044f \u043d\u0430 Windows 10 \u0447\u0435\u0440\u0435\u0437 WSL2.&nbsp;\u041d\u0430 \u0432\u0441\u044f\u043a\u0438\u0439 \u0441\u043b\u0443\u0447\u0430\u0439 \u043f\u0440\u0438\u043b\u0430\u0433\u0430\u044e \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0438 \u041f\u041a:<\/p>\n<details class=\"spoiler\">\n<summary>\u0425\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0438 \u041f\u041a<\/summary>\n<div class=\"spoiler__content\">\n<pre><code>------------------ System Information ------------------          Operating System: Windows 10 Enterprise 64-bit (10.0, Build 19043) (19041.vb_release.191206-1406)                  Language: Russian (Regional Setting: Russian)       System Manufacturer: Dell Inc.              System Model: Latitude 5491                      BIOS: 1.12.0 (type: UEFI)                 Processor: Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz (8 CPUs), ~2.3GHz                    Memory: 32768MB RAM       Available OS Memory: 32562MB RAM                 Page File: 9995MB used, 27430MB available ------------------------ Disk &amp; DVD\/CD-ROM Drives ------------------------       Drive: C:  Free Space: 26.5 GB Total Space: 243.0 GB File System: NTFS       Model: SAMSUNG SSD PM871b M.2 2280 256GB<\/code><\/pre>\n<\/div>\n<\/details>\n<h3>\u042d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u044b<\/h3>\n<p>\u041f\u043e\u0441\u043b\u0435&nbsp;\u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0445&nbsp;\u043e\u0442\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0439&nbsp;\u043c\u044b \u043c\u043e\u0436\u0435\u043c,&nbsp;\u043d\u0430\u043a\u043e\u043d\u0435\u0446,&nbsp;\u043d\u0430\u0447\u0430\u0442\u044c \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u044b.   <\/p>\n<h4>\u042d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442 \u21161: \u042d\u0432\u043e\u043b\u044e\u0446\u0438\u044f \u043c\u0435\u0442\u0430\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f<\/h4>\n<p>\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430&nbsp;\u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u0442\u043e, \u043a\u0430\u043a \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u044b \u0441\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0441 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435\u043c \u043f\u0435\u0440\u0435\u0433\u0440\u0443\u0437\u043a\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0434\u043b\u044f \u0438\u043d\u043a\u0440\u0435\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u0435\u043c\u044b\u0445 \u0438&nbsp;\u043d\u0435\u0438\u043d\u043a\u0440\u0435\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u0435\u043c\u044b\u0445&nbsp;\u0442\u0438\u043f\u043e\u0432 \u0434\u0430\u043d\u043d\u044b\u0445 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430. \u041a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u043c\u044b\u0439 \u043a\u043e\u0434 \u0434\u043b\u044f C++ 03, 17 \u0438 20 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b \u043d\u0438\u0436\u0435. \u041e\u0434\u0438\u043d \u0438\u0437 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0435\u0439, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e&nbsp;\u2014&nbsp;\u043e\u0431\u044a\u0435\u043c \u043a\u043e\u0434\u0430, \u043c\u043e\u0436\u043d\u043e \u043e\u0446\u0435\u043d\u0438\u0442\u044c \u0443\u0436\u0435 \u0441\u0435\u0439\u0447\u0430\u0441: \u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043e\u0434\u0430 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0441\u043e\u043a\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u043f\u043e \u043c\u0435\u0440\u0435 \u044d\u0432\u043e\u043b\u044e\u0446\u0438\u0438 \u044f\u0437\u044b\u043a\u0430, \u0443\u0441\u0442\u0443\u043f\u0430\u044f \u043c\u0435\u0441\u0442\u043e \u0447\u0438\u0442\u0430\u0435\u043c\u043e\u0441\u0442\u0438 \u0438 \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u0435.  <\/p>\n<details class=\"spoiler\">\n<summary>\u041a\u043e\u0434<\/summary>\n<div class=\"spoiler__content\">\n<details class=\"spoiler\">\n<summary>incrementable_03.cpp<\/summary>\n<div class=\"spoiler__content\">\n<pre><code>\/\/ copied from boost template&lt;bool C, typename T = void&gt; struct enable_if { typedef T type; }; template&lt;typename T&gt; struct enable_if&lt;false, T&gt; {};  namespace is_inc {     typedef char (&amp;yes)[1]; typedef char (&amp;no)[2]; struct tag {}; struct any { template &amp;lt;class T&amp;gt; any(T const&amp;amp;); }; tag operator++(any const &amp;amp;);  template&amp;lt;typename T&amp;gt; static yes test(T const &amp;amp;); static no test(tag);  template&amp;lt;typename _T&amp;gt; struct IsInc {     static _T &amp;amp; type_value;     static const bool value = sizeof(yes) == sizeof(test(++type_value)); };  } template&lt;typename T&gt; struct IsInc : public is_inc::IsInc&lt;T&gt; {}; template&lt;class Ty&gt; typename enable_if&lt;IsInc&lt;Ty&gt;::value&gt;::type increment(Ty &amp;); template&lt;class Ty&gt; typename enable_if&lt;!IsInc&lt;Ty&gt;::value&gt;::type increment(Ty &amp;); struct Incrementable { Incrementable &amp; operator++() { return *this; } }; struct NonIncrementable {}; void later() {     Incrementable     i;     NonIncrementable ni;     increment(i);     increment(ni); }<\/code><\/pre>\n<\/div>\n<\/details>\n<details class=\"spoiler\">\n<summary>incrementable_17.cpp<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"cpp\">#include &lt;type_traits&gt;  template&lt;class, class = std::void_t&lt;&gt;&gt; struct IsInc : std::false_type {}; template&lt;class T&gt; struct IsInc&lt;T, std::void_t&lt;decltype( ++std::declval&lt;T&amp;&gt;() )&gt;&gt;     : std::true_type {}; template&lt;class Ty&gt; std::enable_if_t&lt;IsInc&lt;Ty&gt;::value&gt; increment(Ty &amp;); template&lt;class Ty&gt; std::enable_if_t&lt;!IsInc&lt;Ty&gt;::value&gt; increment(Ty &amp;); struct Incrementable { Incrementable &amp; operator++() { return *this; } }; struct NonIncrementable {}; void later() {     Incrementable     i;     NonIncrementable ni;     increment(i);     increment(ni); }<\/code><\/pre>\n<\/div>\n<\/details>\n<details class=\"spoiler\">\n<summary>incrementable_20.cpp<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"cpp\">void increment(auto &amp; arg) requires requires { ++arg; }; void increment(auto &amp;);  struct Incrementable { Incrementable &amp; operator++() { return *this; } }; struct NonIncrementable {};  void later() {     Incrementable     i;     NonIncrementable ni;     increment(i);     increment(ni); }<\/code><\/pre>\n<\/div>\n<\/details>\n<\/div>\n<\/details>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0432\u0437\u0433\u043b\u044f\u043d\u0435\u043c \u043d\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b:<\/p>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"224\" width=\"224\">\n<p>\u0424\u0430\u0439\u043b<\/p>\n<\/td>\n<td colspan=\"2\" data-colwidth=\"85,56\" width=\"85\">\n<p>\u041a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f<\/p>\n<\/td>\n<td>\n<p>\u0412\u0440\u0435\u043c\u044f, \u043c\u0441<\/p>\n<\/td>\n<td>\n<p>\u0420\u0430\u0437\u043c\u0435\u0440 \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430, \u0431\u0430\u0439\u0442<\/p>\n<\/td>\n<td>\n<p>\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432, \u0448\u0442<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"224\" width=\"224\">\n<p>incrementable_03.cpp<\/p>\n<\/td>\n<td data-colwidth=\"85\" width=\"85\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"56\" width=\"56\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>43,02<\/p>\n<\/td>\n<td>\n<p>1304<\/p>\n<\/td>\n<td>\n<p>782<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"224\" width=\"224\">\n<p>incrementable_17.cpp<\/p>\n<\/td>\n<td data-colwidth=\"85\" width=\"85\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"56\" width=\"56\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>67,46<\/p>\n<\/td>\n<td>\n<p>1320<\/p>\n<\/td>\n<td>\n<p>472<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"224\" width=\"224\">\n<p>incrementable_20.cpp<\/p>\n<\/td>\n<td data-colwidth=\"85\" width=\"85\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"56\" width=\"56\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>43,42<\/p>\n<\/td>\n<td>\n<p>1304<\/p>\n<\/td>\n<td>\n<p>230<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"224\" width=\"224\">\n<p>incrementable_03.cpp<\/p>\n<\/td>\n<td data-colwidth=\"85\" width=\"85\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"56\" width=\"56\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>47,21<\/p>\n<\/td>\n<td>\n<p>1296<\/p>\n<\/td>\n<td>\n<p>782<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"224\" width=\"224\">\n<p>incrementable_17.cpp<\/p>\n<\/td>\n<td data-colwidth=\"85\" width=\"85\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"56\" width=\"56\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>77,77<\/p>\n<\/td>\n<td>\n<p>1304<\/p>\n<\/td>\n<td>\n<p>472<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"224\" width=\"224\">\n<p>incrementable_20.cpp<\/p>\n<\/td>\n<td data-colwidth=\"85\" width=\"85\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"56\" width=\"56\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>45,70<\/p>\n<\/td>\n<td>\n<p>1288<\/p>\n<\/td>\n<td>\n<p>230<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"224\" width=\"224\">\n<p>incrementable_03.cpp<\/p>\n<\/td>\n<td data-colwidth=\"85\" width=\"85\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"56\" width=\"56\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>19,89<\/p>\n<\/td>\n<td>\n<p>1568<\/p>\n<\/td>\n<td>\n<p>782<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"224\" width=\"224\">\n<p>incrementable_17.cpp<\/p>\n<\/td>\n<td data-colwidth=\"85\" width=\"85\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"56\" width=\"56\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>34,71<\/p>\n<\/td>\n<td>\n<p>1568<\/p>\n<\/td>\n<td>\n<p>472<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"224\" width=\"224\">\n<p>incrementable_20.cpp<\/p>\n<\/td>\n<td data-colwidth=\"85\" width=\"85\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"56\" width=\"56\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>17,62<\/p>\n<\/td>\n<td>\n<p>1480<\/p>\n<\/td>\n<td>\n<p>230<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"224\" width=\"224\">\n<p>incrementable_03.cpp<\/p>\n<\/td>\n<td data-colwidth=\"85\" width=\"85\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"56\" width=\"56\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>18,44<\/p>\n<\/td>\n<td>\n<p>1552<\/p>\n<\/td>\n<td>\n<p>782<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"224\" width=\"224\">\n<p>incrementable_17.cpp<\/p>\n<\/td>\n<td data-colwidth=\"85\" width=\"85\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"56\" width=\"56\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>38,94<\/p>\n<\/td>\n<td>\n<p>1552<\/p>\n<\/td>\n<td>\n<p>472<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"224\" width=\"224\">\n<p>incrementable_20.cpp<\/p>\n<\/td>\n<td data-colwidth=\"85\" width=\"85\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"56\" width=\"56\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>18,57<\/p>\n<\/td>\n<td>\n<p>1464<\/p>\n<\/td>\n<td>\n<p>230   <\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u041a\u0430\u043a \u0443\u0436\u0435 \u043e\u0442\u043c\u0435\u0447\u0430\u043b\u043e\u0441\u044c \u0440\u0430\u043d\u0435\u0435,&nbsp;\u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043e\u0434\u0430 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0443\u043c\u0435\u043d\u044c\u0448\u0430\u0435\u0442\u0441\u044f \u043f\u043e \u043c\u0435\u0440\u0435 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044f \u044f\u0437\u044b\u043a\u0430: c 782 \u0434\u043e 472 \u0438 \u0437\u0430\u0442\u0435\u043c \u0434\u043e 230.&nbsp;\u0420\u0430\u0437\u043d\u0438\u0446\u0430&nbsp;\u043f\u043e\u0447\u0442\u0438 \u0432 3,5 \u0440\u0430\u0437\u0430, \u0435\u0441\u043b\u0438 \u0441\u0440\u0430\u0432\u043d\u0438\u0442\u044c&nbsp;\u0421++20 \u0438 \u0421++03 (\u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u0434\u0430\u0436\u0435 \u0431\u043e\u043b\u044c\u0448\u0435,&nbsp;\u0442.\u043a.&nbsp;\u043f\u043e\u0440\u044f\u0434\u043a\u0430&nbsp;150\u2012170&nbsp;\u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0432\u043e \u0432\u0441\u0435\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445&nbsp;\u2014&nbsp;\u0442\u0435\u0441\u0442\u0438\u0440\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u0434). \u0420\u0430\u0437\u043c\u0435\u0440\u044b \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u0441\u0442\u0435\u043f\u0435\u043d\u043d\u043e \u0443\u043c\u0435\u043d\u044c\u0448\u0430\u044e\u0442\u0441\u044f. \u0427\u0442\u043e \u0436\u0435 \u0441\u043e&nbsp;\u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438? \u0421\u0442\u0440\u0430\u043d\u043d\u043e, \u043d\u043e&nbsp;\u0432\u0440\u0435\u043c\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 03 \u0438 20 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0440\u0430\u0432\u043d\u043e, \u0430 \u0432\u043e\u0442 \u0432 \u0421++17&nbsp;\u2014&nbsp;\u0432 \u0434\u0432\u0430 \u0440\u0430\u0437\u0430 \u0431\u043e\u043b\u044c\u0448\u0435. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0432\u0437\u0433\u043b\u044f\u043d\u0435\u043c \u043d\u0430 \u043a\u043e\u0434 \u043d\u0430\u0448\u0438\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432: \u043f\u043e\u043c\u0438\u043c\u043e \u0432\u0441\u0435\u0433\u043e \u043f\u0440\u043e\u0447\u0435\u0433\u043e, \u0432 \u0433\u043b\u0430\u0437\u0430 \u0431\u0440\u043e\u0441\u0430\u0435\u0442\u0441\u044f&nbsp;<code>#include<\/code>&nbsp;\u0432 \u0441\u043b\u0443\u0447\u0430\u0435 C++17. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u043c&nbsp;<code>declval<\/code>,&nbsp;<code>enable_if<\/code>&nbsp;\u0438&nbsp;<code>void_t<\/code>&nbsp;\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043c:  <\/p>\n<details class=\"spoiler\">\n<summary>incrementable_no_tt.cpp<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"cpp\">template&lt;bool C, typename T = void&gt; struct enable_if { typedef T type; }; template&lt;typename T&gt; struct enable_if&lt;false, T&gt; {}; template&lt;bool B, typename T = void&gt; using enable_if_t = typename enable_if&lt;B, T&gt;::type;  template&lt;typename ...&gt; using void_t = void;  template&lt;class T&gt; T &amp;&amp; declval() noexcept;  template&lt;class, class = void_t&lt;&gt;&gt; struct IsInc {     constexpr static bool value = false; }; template&lt;class T&gt; struct IsInc&lt;T, void_t&lt;decltype( ++declval&lt;T&amp;&gt;() )&gt;&gt; {     constexpr static bool value = true; };  template&lt;class Ty&gt; enable_if_t&lt;IsInc&lt;Ty&gt;::value&gt; increment(Ty &amp;); template&lt;class Ty&gt; enable_if_t&lt;!IsInc&lt;Ty&gt;::value&gt; increment(Ty &amp;);  struct Incrementable { Incrementable &amp; operator++() { return *this; } }; struct NonIncrementable {};  void later() {     Incrementable     i;     NonIncrementable ni;     increment(i);     increment(ni); }<\/code><\/pre>\n<\/div>\n<\/details>\n<p>\u0418 \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043e\u0431\u043d\u043e\u0432\u0438\u043c \u043d\u0430\u0448\u0443 \u0442\u0430\u0431\u043b\u0438\u0446\u0443:<\/p>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"225\" width=\"225\">\n<p>\u0424\u0430\u0439\u043b<\/p>\n<\/td>\n<td colspan=\"2\" data-colwidth=\"80,59\" width=\"80\">\n<p>\u041a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f<\/p>\n<\/td>\n<td>\n<p>\u0412\u0440\u0435\u043c\u044f, \u043c\u0441<\/p>\n<\/td>\n<td>\n<p>\u0420\u0430\u0437\u043c\u0435\u0440 \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430, \u0431\u0430\u0439\u0442<\/p>\n<\/td>\n<td>\n<p>\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432, \u0448\u0442<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"225\" width=\"225\">\n<p>incrementable_03.cpp<\/p>\n<\/td>\n<td data-colwidth=\"80\" width=\"80\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"59\" width=\"59\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>43,02<\/p>\n<\/td>\n<td>\n<p>1304<\/p>\n<\/td>\n<td>\n<p>782<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"225\" width=\"225\">\n<p>incrementable_17_no_tt.cpp<\/p>\n<\/td>\n<td data-colwidth=\"80\" width=\"80\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"59\" width=\"59\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>44,498<\/p>\n<\/td>\n<td>\n<p>1320<\/p>\n<\/td>\n<td>\n<p>714<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"225\" width=\"225\">\n<p>incrementable_20.cpp<\/p>\n<\/td>\n<td data-colwidth=\"80\" width=\"80\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"59\" width=\"59\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>43,419<\/p>\n<\/td>\n<td>\n<p>1304<\/p>\n<\/td>\n<td>\n<p>230<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"225\" width=\"225\">\n<p>incrementable_03.cpp<\/p>\n<\/td>\n<td data-colwidth=\"80\" width=\"80\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"59\" width=\"59\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>47,205<\/p>\n<\/td>\n<td>\n<p>1296<\/p>\n<\/td>\n<td>\n<p>782<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"225\" width=\"225\">\n<p>incrementable_17_no_tt.cpp<\/p>\n<\/td>\n<td data-colwidth=\"80\" width=\"80\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"59\" width=\"59\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>47,327<\/p>\n<\/td>\n<td>\n<p>1312<\/p>\n<\/td>\n<td>\n<p>714<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"225\" width=\"225\">\n<p>incrementable_20.cpp<\/p>\n<\/td>\n<td data-colwidth=\"80\" width=\"80\">\n<p>clang<\/p>\n<\/td>\n<td data-colwidth=\"59\" width=\"59\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>45,704<\/p>\n<\/td>\n<td>\n<p>1288<\/p>\n<\/td>\n<td>\n<p>230<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"225\" width=\"225\">\n<p>incrementable_03.cpp<\/p>\n<\/td>\n<td data-colwidth=\"80\" width=\"80\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"59\" width=\"59\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>19,885<\/p>\n<\/td>\n<td>\n<p>1568<\/p>\n<\/td>\n<td>\n<p>782<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"225\" width=\"225\">\n<p>incrementable_17_no_tt.cpp<\/p>\n<\/td>\n<td data-colwidth=\"80\" width=\"80\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"59\" width=\"59\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>21,163<\/p>\n<\/td>\n<td>\n<p>1584<\/p>\n<\/td>\n<td>\n<p>714<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"225\" width=\"225\">\n<p>incrementable_20.cpp<\/p>\n<\/td>\n<td data-colwidth=\"80\" width=\"80\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"59\" width=\"59\">\n<p>O0<\/p>\n<\/td>\n<td>\n<p>17,619<\/p>\n<\/td>\n<td>\n<p>1480<\/p>\n<\/td>\n<td>\n<p>230<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"225\" width=\"225\">\n<p>incrementable_03.cpp<\/p>\n<\/td>\n<td data-colwidth=\"80\" width=\"80\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"59\" width=\"59\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>18,442<\/p>\n<\/td>\n<td>\n<p>1552<\/p>\n<\/td>\n<td>\n<p>782<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"225\" width=\"225\">\n<p>incrementable_17_no_tt.cpp<\/p>\n<\/td>\n<td data-colwidth=\"80\" width=\"80\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"59\" width=\"59\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>19,057<\/p>\n<\/td>\n<td>\n<p>1568<\/p>\n<\/td>\n<td>\n<p>714<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"225\" width=\"225\">\n<p>incrementable_20.cpp<\/p>\n<\/td>\n<td data-colwidth=\"80\" width=\"80\">\n<p>gcc<\/p>\n<\/td>\n<td data-colwidth=\"59\" width=\"59\">\n<p>O3<\/p>\n<\/td>\n<td>\n<p>18,566<\/p>\n<\/td>\n<td>\n<p>1464<\/p>\n<\/td>\n<td>\n<p>230   <\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u0412\u0440\u0435\u043c\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u043d\u0430 17 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0435 \u043d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u0438 \u0441\u0442\u0430\u043b\u043e \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0440\u0430\u0432\u043d\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 03 \u0438 20, \u043e\u0434\u043d\u0430\u043a\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043e\u0434\u0430 \u0441\u0442\u0430\u043b\u043e \u0431\u043b\u0438\u0437\u043a\u043e \u043a \u0441\u0430\u043c\u043e\u043c\u0443 \u0442\u044f\u0436\u0451\u043b\u043e\u043c\u0443, \u0431\u0430\u0437\u043e\u0432\u043e\u043c\u0443 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0443. \u0422\u0430\u043a \u0447\u0442\u043e, \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u043f\u043e\u0434 \u0440\u0443\u043a\u043e\u0439 C++20 \u0438 \u043d\u0443\u0436\u043d\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043a\u0430\u043a\u0443\u044e-\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u0443\u044e \u043c\u0435\u0442\u0430-\u043f\u0435\u0440\u0435\u0433\u0440\u0443\u0437\u043a\u0443,&nbsp;\u0441\u043c\u0435\u043b\u043e \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u044b. \u042d\u0442\u043e \u0447\u0438\u0442\u0430\u0431\u0435\u043b\u044c\u043d\u0435\u0435, \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0441 \u0442\u0430\u043a\u043e\u0439 \u0436\u0435 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c\u044e, \u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u043c\u0435\u043d\u044c\u0448\u0435 \u043c\u0435\u0441\u0442\u0430.  <\/p>\n<h4>\u042d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442 \u21162: \u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u043c\u0435\u0442\u043e\u0434\u043e\u0432<\/h4>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0432\u0437\u0433\u043b\u044f\u043d\u0435\u043c \u043d\u0430 \u0435\u0449\u0435 \u043e\u0434\u043d\u0443 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c: \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0438\u043b\u0438 \u043c\u0435\u0442\u043e\u0434\u0430 (\u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0438 \u0434\u043b\u044f \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u043e\u0432 \u0438 \u0434\u0435\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u043e\u0432) \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0442\u0438\u043f\u0430&nbsp;<code>OptionalLike<\/code>, \u0438\u043c\u0435\u044e\u0449\u0435\u0433\u043e \u0434\u0435\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432 \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u043f\u043e\u043c\u0435\u0449\u0430\u0435\u043c\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 \u0442\u0440\u0438\u0432\u0438\u0430\u043b\u0435\u043d, \u0430 \u0438\u043d\u0430\u0447\u0435&nbsp;\u2014&nbsp;\u0434\u0435\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440, \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0449\u0438\u0439&nbsp;\u0434\u0435\u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e&nbsp;\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e. \u041a\u043e\u0434 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u043d\u0438\u0436\u0435:  <\/p>\n<details class=\"spoiler\">\n<summary>\u041a\u043e\u0434<\/summary>\n<div class=\"spoiler__content\">\n<details class=\"spoiler\">\n<summary>optional_like_17.cpp<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"cpp\">#include &lt;type_traits&gt; #include &lt;string&gt;  template&lt;typename T, typename = void&gt; struct OptionalLike {     ~OptionalLike() {         \/* Calls d-tor manually *\/     } };  template&lt;typename T&gt; struct OptionalLike&lt;T, std::enable_if_t&lt;std::is_trivially_destructible&lt;T&gt;::value&gt;&gt; {     ~OptionalLike() = default; };   void later() {     OptionalLike&lt;int&gt;         oli;     OptionalLike&lt;std::string&gt; ols; } <\/code><\/pre>\n<\/div>\n<\/details>\n<details class=\"spoiler\">\n<summary>optional_like_20.cpp<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"cpp\">#include &lt;type_traits&gt; #include &lt;string&gt;  template&lt;typename T&gt; struct OptionalLike {     ~OptionalLike() {         \/*<\/code><\/pre>\n<\/div>\n<\/details>\n<\/div>\n<\/details>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-325194","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/325194","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=325194"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/325194\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=325194"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=325194"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=325194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}