#Ranges

GripNewsGripNews
2025-10-15

🌘 C++26:std::optional 的範圍(range)支援
➤ 為 std::optional 注入範圍語彙,打造更簡潔的 C++ 程式碼
sandordargo.com/blog/2025/10/0
C++26 將為 std::optional 引入範圍(range)的支援,這項重大更新讓 std::optional 的物件本身也能作為一個最多隻包含一個元素的範圍來使用。此功能極大地簡化了在組合式程式碼中處理可能不存在的值的邏輯,能夠無縫整合至現有的範圍管線中,自動略過空值,無需手動進行 if 檢查,從而提升了程式碼的可讀性與效率。
+ 這個改動太棒了!再也不用寫一堆 `if (opt)` 了,直接用 range-based for loop 處理,程式碼瞬間清爽很多。
+ 一開始覺得這有點多餘,但看到 P3168R2 的範例後,發現它在處理連續的 range 操作時,確實能大幅減少樣板程
++ ++26 ::optional

Lozified 🏴‍☠️🏳️‍🌈🦘🌏lozwood.bsky.social@bsky.brid.gy
2025-09-20

Some more grey sky lines . gentle rain on the tin roof kind of day #clouds #skyscape #landscape #australia #rainy #days in the #ranges

Lozified 🏴‍☠️🏳️‍🌈🦘🌏lozwood.bsky.social@bsky.brid.gy
2025-09-17

Dec 9 2021 amazing clouds above the Border Ranges . NE NSW #clouds #epic #mountains #ranges #countrylife #bundjalungcountry #australia #landscape #skyscape

2025-08-16

Love this City: Love the Waitākere Ranges! – Simon Wilson

Harrumph, say NZ First’s Shane Jones and Hobson’s Pledge. They call it “co-governance”. But that wasn’t how most…
#NewsBeep #News #Headlines #auckland #city #events #exploring #ideas #love #makaurau #NewZealand #newsletter #NZ #potential #ranges #reality #simon #the #this #tmaki #transcript #waitkere #Weekly #wilson #wilsons
newsbeep.com/63635/

Hannes Hauswedell__h2__
2025-08-03

I have just published the first release of my experimental C++ Ranges library:

📡 ℝange 𝔸𝕕aptors ℝeimagined 📡
github.com/h-2/radr

Go check it out!

2025-07-28

Govt to increase Crown body board members’ fee ranges by up to 80%

At last year’s Budget, it promised working-age New Zealanders would benefit on average by $16 a week from…
#NewsBeep #News #Headlines #80 #agreed #board #bodies #body #by #cases #could #crown #fee #fees #Government #govt #increase #members #NewZealand #NZ #paid #quietly #raise #range #ranges #some #to #up
newsbeep.com/23863/

2025-07-01

Встреча ISO C++ в Софии: С++26 и рефлексия

Привет! На связи Антон Полухин из Техплатформы Городских сервисов Яндекса, и сейчас я расскажу о софийской встрече Международного комитета по стандартизации языка программирования C++, в которой принимал активное участие. Это была последняя встреча, на которой новые фичи языка, с предодобренным на прошлых встречах дизайном, ещё могли попасть в C++26. И результат превзошёл все ожидания: compile-time-рефлексия рефлексия параметров функций аннотации std::optional<T&‍> параллельные алгоритмы Об этих и других новинках расскажу в посте

habr.com/ru/companies/yandex/a

#c++29 #с++29 #c++26 #с++26 #с++ #c++ #reflection #constexpr #exception #simd #safety #security #undefined_behavior #annotations #parallel_programming #executor #executors #ranges #coroutines

2025-07-01

Встреча ISO C++ в Софии: С++26 и рефлексия

Привет! На связи Антон Полухин из техплатформы городских сервисов Яндекса, и сейчас я расскажу о софийской встрече Международного комитета по стандартизации языка программирования C++, в которой принимал активное участие. Это была последняя встреча, на которой новые фичи языка, с предодобренным на прошлых встречах дизайном, ещё могли попасть в C++26. И результат превзошёл все ожидания: compile-time-рефлексия рефлексия параметров функций аннотации std::optional<T&‍> параллельные алгоритмы Об этих и других новинках расскажу в посте

habr.com/ru/companies/yandex/a

#c++29 #с++29 #c++26 #с++26 #с++ #c++ #reflection #constexpr #exception #simd #safety #security #undefined_behavior #annotations #parallel_programming #executor #executors #ranges #coroutines

2025-06-14

C++OnSea 2025 SESSION ANNOUNCEMENT: Missing (and future?) C++ Range Concepts by @foonathan

cpponsea.uk/2025/session/missi

Register now at cpponsea.uk/tickets/

#algorithms #cplusplus #cpp #ranges

2025-05-19

C++OnSea 2025 SESSION ANNOUNCEMENT: Missing (and future?) C++ Range Concepts by @foonathan

cpponsea.uk/2025/session/missi

Register now at cpponsea.uk/tickets/

#algorithms #cplusplus #cpp #ranges

Hannes Hauswedell__h2__
2025-05-18

I wrote a blog post again:

𝗢𝘄𝗻𝗶𝗻𝗴 𝗮𝗻𝗱 𝗻𝗼𝗻-𝗼𝘄𝗻𝗶𝗻𝗴 𝗖++ 𝗥𝗮𝗻𝗴𝗲𝘀

The first article in a series discussing some of the underlying properties of C++ ranges, and in particular range adaptors.

hannes.hauswedell.net/post/202

@meetingcpp @c_discussions

Owning and non-owning C++ Ranges

2025-05-17  16 min read

This is the first article in a series discussing some of the underlying properties of C++ ranges and in particular range adaptors. At the same time, I introduce the design of an experimental library which aims to solve some of the problems discussed here.
2025-05-16

C++OnSea 2025 SESSION ANNOUNCEMENT: Safe and Readable Code: Monadic Operations in C++23 by @asperamanca

cpponsea.uk/2025/session/safe-

Register now at cpponsea.uk/tickets/

#expected #functor #monad #optional #ranges

C++Nowcppnow
2025-04-10

C++Now 2025 SESSION ANNOUNCEMENT: A Practitioner's Guide to Writing std-Compatible Views by Zach Laine

schedule.cppnow.org/session/20

Register now at cppnow.org/registration/

GripNewsGripNews
2025-04-09

🌘 使用 Token 序列迭代範圍
➤ 剖析 C++ Ranges 的效能隱藏陷阱
brevzin.github.io/c++/2025/04/
本文探討了 C++ Ranges 庫中,某些 range adaptors (如 `views::filter` 和 `views::take_while`) 在迭代範圍時可能產生的額外效能負擔。作者分析了這些 adaptors 的 desugaring 過程,指出它們在實現自定義行為時,即便看似能完美契合迭代器模型的定製點,卻可能引入不必要的比較操作,甚至重複計算。此外,文章也討論了 `views::reverse` 的實現複雜性及其可能帶來的效能問題。
+ 這篇文章讓我更瞭解 Ranges 庫的內部機制,以及在使用上需要注意的潛在效能問題。以前我總是覺得 Ranges 很方便,但沒想到有些 adaptor 會帶來意料之外的開銷。
+ 作者分析得非常透徹,用具體的例子和 desugaring 過程來說明問題,讓人更容易理解。對於想深入瞭
++

C++Nowcppnow
2025-03-21

C++Now 2025 SESSION ANNOUNCEMENT: Advanced Ranges - Writing Modular, Clean, and Efficient Code with Custom Views by Steve Sorkin

schedule.cppnow.org/session/20

Register now at cppnow.org/registration/

C++Nowcppnow
2025-03-18

C++Now 2025 SESSION ANNOUNCEMENT: A Practitioner's Guide to Writing std-Compatible Views by Zach Laine

schedule.cppnow.org/session/20

Register now at cppnow.org/registration/

2024-10-30
Kevin Karhan :verified:kkarhan@infosec.space
2024-10-24

@LibreKitsune I still consider this a hostile act and a blatant violation of their previous #settlement that forced them into #publishing said #IPv4 #ranges...

  • In fact had they not actively worked against that previously and it only raised my attention when I saw errors re: said ranges.

I'm considering to build a #workaround on #GitHub to just use a #cookie and some #compute to do it, but if I had cash to spare I'd sue them into removing #ClownFlare and allowing me to scrape the list directly...

  • I'm very close to just sending them an #invoice for the personnel hours wasted on that bs and billing them regularly for the expense of manually checking the difference between those (@ minimum of 60:15 billable minutes)...

Otherwise I do expect regulators to actually go after #OpenAI and force them to undo the #Cloudflare-based #Enshittification, since it's neither feasible nor reasonable to claim "#DDoS-#Protection" for a 48 Bytes (!!!) file...

  • Every #WAF / #WebApplicationFirewall I know would not get triggered even if I were to query it once per hour (which I now do just to annoy them or rather ClownFlare!...
2024-10-21
2024-10-14

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst