home.social

#isocpp — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #isocpp, aggregated by home.social.

  1. Marek Polacek's commit 4b0e94b394fa38cdc3431f3cfb333b85373bd948

    C++26 Reflection [PR120775]

    compile using
    g++ -std=c++26 -freflection

    #gcc
    #g++
    #isocpp
    #cplusplus
    #reflection
    #cplusplusreflection

  2. Yay, C++26 will get contracts and standard library hardening 🎉

    #cplusplus #security #isocpp

  3. Should I write a paper aiming for renaming the "unibrow" reflection operator to the "twin-peaks operator"? 🤔 :P

    #isocpp

  4. C++ problem: unordered_map<string, T> can't be looked up via a string_view.

    C++20 added a solution: Heterogenous lookup.

    Problem 2: That solution means to replace unordered_map<string, T> with the code in the screenshot.......

    Proposal: Add a string_hash to the stdlib, and then add a new hash_map to the stdlib:

    template<typename T>
    using hash_map = unordered_map<string, T, string_hash, equal_to<>>;

    This would make C++ almost nice to work with!

  5. I am trying to do something fairly simple with C++ Reflection. It seems like it should be the shown snippet, but all working examples end up looking like 99% of programmers wouldn't be able to come up with them :sadness:

    Am I missing something obvious?

    #cplusplus #reflection #isocpp #programming

  6. Meeting up with the gang again, after more than a year 🤙🏻

    #cplusplus #isocpp

  7. I hope this post gets the attention of at least a few ISO C++ "std-proposals" subscribers.

    Does std-proposals subscription really mail every subscriber their pwd, in clear, *every month*? Why?

    I imagine historical reasons like forgetful subscribers back when online interactions were not routine, but this day and age? May be the page is old and this is no longer practiced? 🤔

    Just curious. Don't mean to question anything. ✌️

    EDIT: Answered 🙏

    lists.isocpp.org/mailman/listi #cpp #isoCpp #wg21 #infosec

  8. Remember the days when #Clang was the new kid on the block, pushing forward the smug old folks by implementing the newest and hottest stuff from #isocpp?

    Not so anymore: These days it always seems Clang for which I have to provide terrible fallback hacks, when trying to explore the hottest and nicest of #moderncpp, where #GNU and #MSVC just deliver.

    #programming #cpp #cxx

  9. C++23 is used for demo and training sessions of SoftwareHub community.

    C++23 is also the baseline for all SoftwareFreedom projects.

    #cplusplus #cplusplus23 #isocpp #SoftwareHub #SoftwareFreedom

  10. C++23 is used for demo and training sessions of SoftwareHub community.

    C++23 is also the baseline for all SoftwareFreedom projects.

    #cplusplus #cplusplus23 #isocpp #SoftwareHub #SoftwareFreedom

  11. @DanielaKEngert the intent was to help you setup and run ArchLinux on your windows box.

    Then setting up latest build of gcc is a breeze.

    Irrespective of gcc version, the meta-bug for all module issue(s) is

    gcc.gnu.org/bugzilla/show_bug.

    #gcc
    #isocpp
    #cplusplus

  12. @DanielaKEngert 2022-03-03 gcc build for ArchLinux available.

    Here is the direct link
    sourceforge.net/projects/softw

    This corresponds to 'main' branch, tracking upto Richard Biener's commit 0132acc03cada2c3b47c48a205e821563153fc80

    #gcc #archlinux #isocpp #toolchain

  13. @DanielaKEngert

    how about installing ArchLinux or Debian as the OS on your hardware ?

    How about running each Windows version in a Qemu or a Virtualbox instance ?

    You can have as many versions as you want and for all the time you saved bake some Spekulatius or Lebkuchen !

    #freesoftware #linux #isocpp #gcc #archlinux #debian

  14. Does anyone know why the paper N4937 in the mailing-2023-01 is not accessible ?

    N4937
    Programming Languages — C++ Extensions for Library Fundamentals, Version 3 Thomas Köppe 2022-12-15 2023-01 WG21

    The URL is open-std.org/JTC1/SC22/WG21/pr

    Anyone knows ?

    #cc #cpp #isocpp #cplusplus #isocplusplus #programming #language #community #cc23 #cpp23 #cplusplus23 #isocplusplus23 #wg21

  15. Does anyone know why the paper N4937 in the mailing-2023-01 is not accessible ?

    N4937
    Programming Languages — C++ Extensions for Library Fundamentals, Version 3 Thomas Köppe 2022-12-15 2023-01 WG21

    The URL is open-std.org/JTC1/SC22/WG21/pr

    Anyone knows ?

  16. december 2022 updated WG21 C++ groups. This has schematic has the SG23 Safety and Security community.

    There is no SG23 list at lists.isocpp.org/. Wondering where the SG23 mailing list is ?

    #cc
    #cpp
    #cplusplus
    #isocpp
    #programming
    #Languages
    #wg23
    #wg21
    #community

  17. What does the phrase, "an initialization of auto always decays" mean ?

    doesn't presence of 'auto' keyword imply a template which doesn't have implicit conversion. anyone knows ?

    #cplusplus #isocpp #cpp #programming #language #paradigm #cc #cpp23 #isocpp23 #isocplusplus23

  18. What does the phrase, "an initialization of auto always decays" mean ?

    doesn't presence of 'auto' keyword imply a template which doesn't have implicit conversion. anyone knows ?

    #cplusplus #isocpp #cpp #programming #language #paradigm #cc #cpp23 #isocpp23 #isocplusplus23

  19. What does the phrase, "an initialization of auto always decays" mean ?

    doesn't presence of 'auto' keyword imply a template which doesn't have implicit conversion. anyone knows ?