{"id":54,"date":"2009-01-05T19:04:27","date_gmt":"2009-01-05T18:04:27","guid":{"rendered":"https:\/\/ridgesolutions.ie\/?p=54"},"modified":"2009-01-07T12:15:36","modified_gmt":"2009-01-07T11:15:36","slug":"native-lambda-functions-in-c-yes-please","status":"publish","type":"post","link":"https:\/\/www.ridgesolutions.ie\/index.php\/2009\/01\/05\/native-lambda-functions-in-c-yes-please\/","title":{"rendered":"Native Lambda Expressions in C++? Yes Please!!"},"content":{"rendered":"<p>Today I came across a situation which brought it home to me again\u00a0how (in my opinion) C++ could desperately do with native lambda function support.\u00a0 The standard library has introduced a load of great algorithms, but providing predicates and the like to them is a real pain &#8211; and I think that\u00a0because of this\u00a0people tend to stick to hand rolling good old-fashioned loops.<\/p>\n<p>\u00a0<\/p>\n<p>Consider replacing a few different characters in a std::string with a single given character, e.g., replace the characters &#8216;$&#8217;\u00a0and\u00a0&#8216;|&#8217; with &#8216;_&#8217;.\u00a0 A good way of doing this in C++ would be to use the boost regular expression library, but we could also use the std::replace_if() algorithm.\u00a0 All we have to do to use this algorithm is to privide a predicate that indicates if a given character should be replaced or not (say called is_bad_char()), then we do something like:<\/p>\n<p>\u00a0<\/p>\n<pre>[code lang=\"cpp\"] replace_if(str.begin(), str.end(), is_bad_char(), '_'); [\/code]<\/pre>\n<p>\u00a0Looks easy enough, and it&#8217;s nice and concise.\u00a0 All we have to do now is define is_bad_char(), something like:<\/p>\n<pre>[code lang=\"cpp\"]\r\nstruct is_bad_char: public std::unary_function\r\n{\r\n  bool operator() (const char& c) const\r\n  {\r\n    return !(c == '$' || c == '|');\r\n  }\r\n};\r\n[\/code]<\/pre>\n<p>I mean! what a pallava!\u00a0\u00a0that&#8217;s quite a mouthful, would you really be bothered? You would have a loop coded in just the time it took to start to remember that syntax, never mind the typing. it also looks terribly inelegant.<\/p>\n<p>\u00a0<\/p>\n<p>Now when native lambda support arrvies we will be able to do something like this instead:<\/p>\n<pre>[code lang=\"cpp\"]\r\nreplace_if(str.begin(), str.end(),\r\n       <>(char c) -> bool { return !(c == '$' || c == '|'); },\r\n       '_');\r\n[\/code]<\/pre>\n<p>That&#8217;s much better&#8230; but not available yet, we will just have to wait for c++0x to arrive. In the mean time I will just have to use lambdas in the many other languages that support them and\u00a0pine when using C++.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I came across a situation which brought it home to me again\u00a0how (in my opinion) C++ could desperately do with native lambda function support.\u00a0 The standard library has introduced a load of great algorithms, but providing predicates and the like to them is a real pain &#8211; and I think that\u00a0because of this\u00a0people tend [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[13,11,12],"class_list":["post-54","post","type-post","status-publish","format-standard","hentry","category-tech-stuff","tag-algorithm","tag-cplusplus","tag-lambda-expression"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Today I came across a situation which brought it home to me again how (in my opinion) C++ could desperately do with native lambda function support. The standard library has introduced a load of great algorithms, but providing predicates and the like to them is a real pain - and I think that because of this people tend\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Kevin Godden\"\/>\n\t<meta name=\"google-site-verification\" content=\"Kyj52YLp6GOPA44PVBffo9fjW8rgWHYYRF0ZYjfy6ss\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.ridgesolutions.ie\/index.php\/2009\/01\/05\/native-lambda-functions-in-c-yes-please\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Systems and Embedded Software Engineering, Ireland. | Some thoughts of a busy Computer Engineer\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Native Lambda Expressions in C++? Yes Please!!\" \/>\n\t\t<meta property=\"og:description\" content=\"Today I came across a situation which brought it home to me again how (in my opinion) C++ could desperately do with native lambda function support. The standard library has introduced a load of great algorithms, but providing predicates and the like to them is a real pain - and I think that because of this people tend\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.ridgesolutions.ie\/index.php\/2009\/01\/05\/native-lambda-functions-in-c-yes-please\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2009-01-05T18:04:27+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2009-01-07T11:15:36+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Native Lambda Expressions in C++? Yes Please!!\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Today I came across a situation which brought it home to me again how (in my opinion) C++ could desperately do with native lambda function support. The standard library has introduced a load of great algorithms, but providing predicates and the like to them is a real pain - and I think that because of this people tend\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2009\\\/01\\\/05\\\/native-lambda-functions-in-c-yes-please\\\/#article\",\"name\":\"Native Lambda Expressions in C++? Yes Please!!\",\"headline\":\"Native Lambda Expressions in C++? Yes Please!!\",\"author\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/author\\\/kgodden\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/wp-content\\\/uploads\\\/2013\\\/09\\\/ridge_logo1.jpg\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/#articleImage\",\"width\":400,\"height\":81},\"datePublished\":\"2009-01-05T19:04:27+00:00\",\"dateModified\":\"2009-01-07T12:15:36+00:00\",\"inLanguage\":\"en-US\",\"commentCount\":1,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2009\\\/01\\\/05\\\/native-lambda-functions-in-c-yes-please\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2009\\\/01\\\/05\\\/native-lambda-functions-in-c-yes-please\\\/#webpage\"},\"articleSection\":\"Tech Stuff, algorithm, c++, lambda\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2009\\\/01\\\/05\\\/native-lambda-functions-in-c-yes-please\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.ridgesolutions.ie\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/category\\\/tech-stuff\\\/#listItem\",\"name\":\"Tech Stuff\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/category\\\/tech-stuff\\\/#listItem\",\"position\":2,\"name\":\"Tech Stuff\",\"item\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/category\\\/tech-stuff\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2009\\\/01\\\/05\\\/native-lambda-functions-in-c-yes-please\\\/#listItem\",\"name\":\"Native Lambda Expressions in C++? Yes Please!!\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2009\\\/01\\\/05\\\/native-lambda-functions-in-c-yes-please\\\/#listItem\",\"position\":3,\"name\":\"Native Lambda Expressions in C++? Yes Please!!\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/category\\\/tech-stuff\\\/#listItem\",\"name\":\"Tech Stuff\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/#organization\",\"name\":\"Ridge Solutions, Software Development and Software Engineering, Ireland.\",\"description\":\"Some thoughts of a busy Computer Engineer\",\"url\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/wp-content\\\/uploads\\\/2013\\\/09\\\/ridge_logo1.jpg\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2009\\\/01\\\/05\\\/native-lambda-functions-in-c-yes-please\\\/#organizationLogo\",\"width\":400,\"height\":81},\"image\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2009\\\/01\\\/05\\\/native-lambda-functions-in-c-yes-please\\\/#organizationLogo\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/author\\\/kgodden\\\/#author\",\"url\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/author\\\/kgodden\\\/\",\"name\":\"Kevin Godden\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2009\\\/01\\\/05\\\/native-lambda-functions-in-c-yes-please\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d2833f41e59a25cf2a9741a05ec383bfdd278762a5e0798a90940e7ab0a107a2?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Kevin Godden\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2009\\\/01\\\/05\\\/native-lambda-functions-in-c-yes-please\\\/#webpage\",\"url\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2009\\\/01\\\/05\\\/native-lambda-functions-in-c-yes-please\\\/\",\"name\":\"Native Lambda Expressions in C++? Yes Please!!\",\"description\":\"Today I came across a situation which brought it home to me again how (in my opinion) C++ could desperately do with native lambda function support. The standard library has introduced a load of great algorithms, but providing predicates and the like to them is a real pain - and I think that because of this people tend\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2009\\\/01\\\/05\\\/native-lambda-functions-in-c-yes-please\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/author\\\/kgodden\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/author\\\/kgodden\\\/#author\"},\"datePublished\":\"2009-01-05T19:04:27+00:00\",\"dateModified\":\"2009-01-07T12:15:36+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/#website\",\"url\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/\",\"name\":\"Ridge Solutions, Software Development and Software Engineering, Ireland.\",\"description\":\"Some thoughts of a busy Computer Engineer\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Native Lambda Expressions in C++? Yes Please!!","description":"Today I came across a situation which brought it home to me again how (in my opinion) C++ could desperately do with native lambda function support. The standard library has introduced a load of great algorithms, but providing predicates and the like to them is a real pain - and I think that because of this people tend","canonical_url":"https:\/\/www.ridgesolutions.ie\/index.php\/2009\/01\/05\/native-lambda-functions-in-c-yes-please\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"Kyj52YLp6GOPA44PVBffo9fjW8rgWHYYRF0ZYjfy6ss","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2009\/01\/05\/native-lambda-functions-in-c-yes-please\/#article","name":"Native Lambda Expressions in C++? Yes Please!!","headline":"Native Lambda Expressions in C++? Yes Please!!","author":{"@id":"https:\/\/www.ridgesolutions.ie\/index.php\/author\/kgodden\/#author"},"publisher":{"@id":"https:\/\/www.ridgesolutions.ie\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.ridgesolutions.ie\/wp-content\/uploads\/2013\/09\/ridge_logo1.jpg","@id":"https:\/\/www.ridgesolutions.ie\/#articleImage","width":400,"height":81},"datePublished":"2009-01-05T19:04:27+00:00","dateModified":"2009-01-07T12:15:36+00:00","inLanguage":"en-US","commentCount":1,"mainEntityOfPage":{"@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2009\/01\/05\/native-lambda-functions-in-c-yes-please\/#webpage"},"isPartOf":{"@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2009\/01\/05\/native-lambda-functions-in-c-yes-please\/#webpage"},"articleSection":"Tech Stuff, algorithm, c++, lambda"},{"@type":"BreadcrumbList","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2009\/01\/05\/native-lambda-functions-in-c-yes-please\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.ridgesolutions.ie#listItem","position":1,"name":"Home","item":"https:\/\/www.ridgesolutions.ie","nextItem":{"@type":"ListItem","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/category\/tech-stuff\/#listItem","name":"Tech Stuff"}},{"@type":"ListItem","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/category\/tech-stuff\/#listItem","position":2,"name":"Tech Stuff","item":"https:\/\/www.ridgesolutions.ie\/index.php\/category\/tech-stuff\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2009\/01\/05\/native-lambda-functions-in-c-yes-please\/#listItem","name":"Native Lambda Expressions in C++? Yes Please!!"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.ridgesolutions.ie#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2009\/01\/05\/native-lambda-functions-in-c-yes-please\/#listItem","position":3,"name":"Native Lambda Expressions in C++? Yes Please!!","previousItem":{"@type":"ListItem","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/category\/tech-stuff\/#listItem","name":"Tech Stuff"}}]},{"@type":"Organization","@id":"https:\/\/www.ridgesolutions.ie\/#organization","name":"Ridge Solutions, Software Development and Software Engineering, Ireland.","description":"Some thoughts of a busy Computer Engineer","url":"https:\/\/www.ridgesolutions.ie\/","logo":{"@type":"ImageObject","url":"https:\/\/www.ridgesolutions.ie\/wp-content\/uploads\/2013\/09\/ridge_logo1.jpg","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2009\/01\/05\/native-lambda-functions-in-c-yes-please\/#organizationLogo","width":400,"height":81},"image":{"@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2009\/01\/05\/native-lambda-functions-in-c-yes-please\/#organizationLogo"}},{"@type":"Person","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/author\/kgodden\/#author","url":"https:\/\/www.ridgesolutions.ie\/index.php\/author\/kgodden\/","name":"Kevin Godden","image":{"@type":"ImageObject","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2009\/01\/05\/native-lambda-functions-in-c-yes-please\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/d2833f41e59a25cf2a9741a05ec383bfdd278762a5e0798a90940e7ab0a107a2?s=96&d=mm&r=g","width":96,"height":96,"caption":"Kevin Godden"}},{"@type":"WebPage","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2009\/01\/05\/native-lambda-functions-in-c-yes-please\/#webpage","url":"https:\/\/www.ridgesolutions.ie\/index.php\/2009\/01\/05\/native-lambda-functions-in-c-yes-please\/","name":"Native Lambda Expressions in C++? Yes Please!!","description":"Today I came across a situation which brought it home to me again how (in my opinion) C++ could desperately do with native lambda function support. The standard library has introduced a load of great algorithms, but providing predicates and the like to them is a real pain - and I think that because of this people tend","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.ridgesolutions.ie\/#website"},"breadcrumb":{"@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2009\/01\/05\/native-lambda-functions-in-c-yes-please\/#breadcrumblist"},"author":{"@id":"https:\/\/www.ridgesolutions.ie\/index.php\/author\/kgodden\/#author"},"creator":{"@id":"https:\/\/www.ridgesolutions.ie\/index.php\/author\/kgodden\/#author"},"datePublished":"2009-01-05T19:04:27+00:00","dateModified":"2009-01-07T12:15:36+00:00"},{"@type":"WebSite","@id":"https:\/\/www.ridgesolutions.ie\/#website","url":"https:\/\/www.ridgesolutions.ie\/","name":"Ridge Solutions, Software Development and Software Engineering, Ireland.","description":"Some thoughts of a busy Computer Engineer","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.ridgesolutions.ie\/#organization"}}]},"og:locale":"en_US","og:site_name":"Systems and Embedded Software Engineering, Ireland. | Some thoughts of a busy Computer Engineer","og:type":"article","og:title":"Native Lambda Expressions in C++? Yes Please!!","og:description":"Today I came across a situation which brought it home to me again how (in my opinion) C++ could desperately do with native lambda function support. The standard library has introduced a load of great algorithms, but providing predicates and the like to them is a real pain - and I think that because of this people tend","og:url":"https:\/\/www.ridgesolutions.ie\/index.php\/2009\/01\/05\/native-lambda-functions-in-c-yes-please\/","article:published_time":"2009-01-05T18:04:27+00:00","article:modified_time":"2009-01-07T11:15:36+00:00","twitter:card":"summary","twitter:title":"Native Lambda Expressions in C++? Yes Please!!","twitter:description":"Today I came across a situation which brought it home to me again how (in my opinion) C++ could desperately do with native lambda function support. The standard library has introduced a load of great algorithms, but providing predicates and the like to them is a real pain - and I think that because of this people tend"},"aioseo_meta_data":{"post_id":"54","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-09-13 21:23:50","updated":"2025-07-15 20:27:40","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.ridgesolutions.ie\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.ridgesolutions.ie\/index.php\/category\/tech-stuff\/\" title=\"Tech Stuff\">Tech Stuff<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tNative Lambda Expressions in C++? Yes Please!!\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.ridgesolutions.ie"},{"label":"Tech Stuff","link":"https:\/\/www.ridgesolutions.ie\/index.php\/category\/tech-stuff\/"},{"label":"Native Lambda Expressions in C++? Yes Please!!","link":"https:\/\/www.ridgesolutions.ie\/index.php\/2009\/01\/05\/native-lambda-functions-in-c-yes-please\/"}],"_links":{"self":[{"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/posts\/54","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/comments?post=54"}],"version-history":[{"count":0,"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/posts\/54\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/media?parent=54"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/categories?post=54"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/tags?post=54"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}