Search
1000 results for “cpp”
-
@bjn that is a great bug.
simplified https://godbolt.org/z/MnEGcE595 -
@bjn that is a great bug.
simplified https://godbolt.org/z/MnEGcE595 -
@bjn that is a great bug.
simplified https://godbolt.org/z/MnEGcE595 -
I'm a bit sad today. Yesterday I pushed https://forge.sourceware.org/gcc/gcc-mirror/commit/804bde962de4819138951aed24b2c8ba768d7344, which makes a simple `x + 1` ill-formed: https://compiler-explorer.com/z/4rYx87fcW. Now, in generic code, you write `+ std::cw<1>` instead. If you know the value-type (`float` in this case), just use the appropriate literal (if it exists): `x + 1.f`.
-
On my way back from #WG21 in Croydon/London. #cpp26 is done. Notable change that I got through: You don't have to wonder anymore what difference there is between `constant_arg` and `constant_wrapper`. Only the latter remains. And `constant_wrapper` now works as a function-wrapper, too (passing a callable as constant expression via function argument).
And—somewhat sad—but `simd::vec<float>(...) * 2` won't compile anymore. I'll have to update GCC16 accordingly. -
There's also std::execution, which — if I understand correctly — contains a standard equivalent to Qt's signal/slot system?
-
Reflection: C++’s decade-defining rocket engine — Herb Sutter @ CppCon 2025
https://www.youtube.com/watch?v=7z9NNrRDHQU
If I understand this correctly, this is going to be good news for Qt/Plasma's performance as Qt basically reimplemented a reflection/metaprogramming system with QMetaObject.
-
It's been a while since last public update.
Launched a pre-release today, which mostly prepares the ground work for a more independent library (without dependency on eg.: iterator, exceptions where not needed) and some support for C++26 features.
-
Calling all #CPPHE folks! Help us celebrate the 20th anniversary of CPPHE by submitting your favorite stories and pictures from past events. The submission link is here: https://forms.gle/AyBXDFe3acHRGtB5A We will share your materials at our pre-conference on Wednesday, November 16, during the business meeting from 5:15-6 pm PT. We can't wait to celebrate moving out of our teenage years with you :)
#HigherEd
#HigherEdPolicy
#HigherEdFinance
#ASHE2022
#CPPHE2022 -
Dependabot support for vcpkg | by James Magee.
https://devblogs.microsoft.com/cppblog/dependabot-support-for-vcpkg/
-
Went to search for js runtimes on vcpkg and now I'm instead curious how many % of vcpkg's packages are json parsers.
-
Trying to figure out of we could use vcpkg for all our dependencies.
One thing I don't quite understand what the best practice for is, is doing small customizations of a port. For example, if I were to use boost from vcpkg I need it to be built with BOOST_DISABLE_EXPLICIT_SYMBOL_VISIBILITY and it doesn't seem like it is by default. How would I easiest make a local adjustment for a thing like that?
-
@admin koska tää on selvästi vasta-alkajille kirjoitettu, niin en mene liian pedanttiseksi. Mutta tuo muistinhallinnan riskialttius on pitkälti historiaa.
Modernissa c++:ssa on automaattinen muistinhallinta ja turvalliset tietorakenteet kuten korkeamman tason kielissä.
C++ on kuitenkin taaksepäin yhteensopiva c:hen ja jopa assembleriin asti joten sillä kyllä pystyy ampumaan itseään jalkaan hyvin helposti halutessaan.
t: c++:aa työkseen koodaava.
Ps. Skrolli-lehdellä on Matrixissa Koodi-kanava josta voi vasta-alkaja hakea apuja ohjelmointiin: https://matrix.to/#/#skrolli-koodi:hacklab.fi
-
I'm suddenly seeing a whole bunch of posts about Canada Pension Plan on my Home TL. The posts/replies are not (boosted) by anyone I follow. 🤔
Turns out the posts use #cpp, short for #CanadaPensionPlan, and thus my seeing them. 🤦♂️
So, not C++, but at least mystery solved. 😮💨
Carry on, Canadian friends. Buckle up, C++ friends. 😀
-
Combined, public pensions, including CPP, have more than US$2.5 billion invested in ICE contractors. the Canada Pension Plan (CPP) is quietly investing those very savings into Trump’s terror project south of the border.
A breaking report from Stand.Earth confirms that the CPP has major investments in contractors that prop up ICE.
Will you sign this petition now demanding that the CPP divest from ICE?
#cpp #pensions #ICE #canadapension -
C++OnSea 2024 SESSION ANNOUNCEMENT: LSAN and ASAN: Tips, Tricks and Hacks by Aleksei Veselovskii
https://cpponsea.uk/2024/sessions/lsan-and-asan-tips-tricks-and-hacks
Register now at https://cpponsea.uk/tickets/
-
C++OnSea 2024 SESSION ANNOUNCEMENT: LSAN and ASAN: Tips, Tricks and Hacks by Aleksei Veselovskii
https://cpponsea.uk/2024/sessions/lsan-and-asan-tips-tricks-and-hacks
Register now at https://cpponsea.uk/tickets/
-
C++OnSea 2024 SESSION ANNOUNCEMENT: LSAN and ASAN: Tips, Tricks and Hacks by Aleksei Veselovskii
https://cpponsea.uk/2024/sessions/lsan-and-asan-tips-tricks-and-hacks
Register now at https://cpponsea.uk/tickets/
-
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! #cpp #programming #isocpp
-
ACCU on Sea 2026 SESSION ANNOUNCEMENT: Generating Language Bindings using C++ Reflection by Callum Piper
https://accuonsea.uk/2026/sessions/generating-language-bindings-using-cpp-reflection
Register now at https://accuonsea.uk/tickets/
-
ACCU on Sea 2026 SESSION ANNOUNCEMENT: Generating Language Bindings using C++ Reflection by Callum Piper
https://accuonsea.uk/2026/sessions/generating-language-bindings-using-cpp-reflection
Register now at https://accuonsea.uk/tickets/
-
ACCU on Sea 2026 SESSION ANNOUNCEMENT: Generating Language Bindings using C++ Reflection by Callum Piper
https://accuonsea.uk/2026/sessions/generating-language-bindings-using-cpp-reflection
Register now at https://accuonsea.uk/tickets/
-
ACCU on Sea 2026 SESSION ANNOUNCEMENT: Generating Language Bindings using C++ Reflection by Callum Piper
https://accuonsea.uk/2026/sessions/generating-language-bindings-using-cpp-reflection
Register now at https://accuonsea.uk/tickets/
-
It is hard to justify usage of clang-tidy when it takes longer than clean compilation of analyzed project.
Certainly not on each compile, when it takes few minutes to complete (on measly 37 files) 😞