Elektrine lite

← Feed

@manx@mastodon.online

Post #2636433

2026-04-07 11:37 UTC

@DanielaKEngert@hachyderm.io @andreasfertig@mas.to Honestly, it does not really matter in this case whether it is straight language Undefined Behaviour, or whether it optionally can trigger an assertion in some stdlib implementations. Both are bugs, and it should not be used or taught this way.

Replies (1)

  • @DanielaKEngert@hachyderm.io 2026-04-07 11:53

    @manx@mastodon.online @andreasfertig@mas.to The required alignment check is probably so easy to miss that I would be surprised, if it isn't already called out in P3100, and on our plate for C++29 😊

    Open ##2636434