ESP32 / ESP8266 cpplinq: last_or_default operator @techtutorialsx11
ESP32 / ESP8266 cpplinq: last_or_default operator  @techtutorialsx11
Uploaded September 2019 | Updated September 2026, 2 weeks ago
How to get the lastelement of an array that meets a given criteria, using cpplinq and the last_or_default operator.

The tests shown on the video were done on the ESP32, but the library also works on the ESP8266.


ESP32 FireBeetle board:
dfrobot.com/product-1590.html

ESP8266 FireBeetle board:
dfrobot.com/product-1634.html

C++ Lambda syntax:
en.cppreference.com/w/cpp/language/lambda

Related Written tutorials:
The pairwise operator: techtutorialsx.com/2019/08/15/esp32-esp8266-arduino-the-pairwise-operator
The except operator: techtutorialsx.com/2019/08/14/esp32-esp8266-cpplinq-the-except-operator
Intersection of arrays: techtutorialsx.com/2019/08/11/esp32-esp8266-cpplinq-finding-the-intersection-between-two-arrays

A lot more written tutorials for the ESP32:
techtutorialsx.com/category/esp32
ESP32 / ESP8266 cpplinq: last_or_default operatorESP32 Arduino: Base64 encoding (using crypto/base64 lib)ESP32 HTTP/2: Add query parameters to GET requestESP32 MicroPython: Hello WorldESP32 Arduino: connecting to a WiFi networkESP32 / ESP8266 cpplinq: The Any operatorESP32 Arduino HTTP web server: multiple server instancesESP32 Camera -  Image serverESP32 Arduino FAT file system: write fileESP32: Getting started with WebSerialESP8266: HTTP POST RequestsESP32 web server: Controlling HTTP methods allowed
Techtutorialsx |

ESP32 / ESP8266 cpplinq: last_or_default operator

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER