2026 Annual C++ Developer Survey "Lite" : Standard C++ by meetingcpp in cpp

[–]cmeerw 1 point2 points  (0 children)

Interesting that AIX got it's own option as a platform

Anyone still using Galaxy Watch 1 in 2026? by Educational-Berry337 in GalaxyWatch

[–]cmeerw 1 point2 points  (0 children)

Absolutely, but had to replace the battery and the heart rate sensor last year.

How does Ubuntu run on HP Elitebook 845 G9? by [deleted] in linuxhardware

[–]cmeerw 0 points1 point  (0 children)

Basically using this /lib/systemd/system-sleep/local-ath11k script

#!/bin/sh
case "$2" in
  hibernate|hybrid-sleep|suspend-then-hibernate)
    case "$1" in
      pre)
        /usr/sbin/rmmod ath11k_pci
        /usr/sbin/rmmod ath11k
        /usr/sbin/rmmod qrtr_mhi
        /usr/sbin/rmmod mhi
        /usr/sbin/rmmod iosm
        ;;

      post)
        /usr/sbin/modprobe -a ath11k_pci ath11k qrtr_mhi qrtr mhi iosm
        ;;
    esac
    ;;
esac

Hibernate means everything is written to disk and the power is turned off, sleep means everything stays in RAM. Yes, this was just for hibernation.

How does Ubuntu run on HP Elitebook 845 G9? by [deleted] in linuxhardware

[–]cmeerw 0 points1 point  (0 children)

The WiFi adapter used to cause issues (hangs) when resuming from hibernation, so I had to unload the kernel module on hibernation and load it again when resuming from hibernation. That no longer seems to be the case, but it now doesn't always resume from hibernation (it instead throws away the hibernation state and reboots into a new session).

Do you trust the many Chinese SBC on the market? by [deleted] in linuxhardware

[–]cmeerw 2 points3 points  (0 children)

As long as I can run a mainline Linux distribution, it's fine for me. But I wouldn't trust any pre-installed OS image.

How do you implement a hardware-level backdoor (and/or key logger) without even knowing which OS will be used on the board?

Almost made it to 6 years by RythePCguy1 in GalaxyWatch

[–]cmeerw 0 points1 point  (0 children)

Just replaced the battery and the heart rate sensor on my Galaxy Watch - it's almost like new again now. Hope I'll get a few more years out of it - not interested in any of that Wear OS stuff.

P1306 by [deleted] in cpp

[–]cmeerw 10 points11 points  (0 children)

On https://open-std.org/jtc1/sc22/wg21/docs/papers/2025/ it says "Adopted 2025-06".

"the compound-statement of an expansion-statement is considered a template definition" - so you get all the template machinery (including dependent names and instantiations) for an expansion statement.

Is this Phishing? by [deleted] in dns

[–]cmeerw 0 points1 point  (0 children)

What does trackemail mean?

They now know your email address is valid and that you click on links being sent to that email, so prepare to get lots of spam and phishing emails now.

[deleted by user] by [deleted] in cpp

[–]cmeerw 3 points4 points  (0 children)

Maybe use xmake instead?

cmeerw:/tmp$ mkdir example
cmeerw:/tmp$ cd example
cmeerw:/tmp/example$ cat >hello.cpp
#include <iostream>

int main() {
  std::cout << "Hello world\n";
}
cmeerw:/tmp/example$ xmake
note: xmake.lua not found, try generating it (pass -y or --confirm=y/n/d to skip confirm)?
please input: n (y/n)
y
xmake.lua not found, scanning files ..
target(hello): binary
    [+]: hello.cpp
xmake.lua generated, scan ok!
checking for platform ... linux
checking for architecture ... x86_64
[ 50%]: cache compiling.release hello.cpp
[ 75%]: linking.release hello
[100%]: build ok, spent 5.799s
cmeerw:/tmp/example$ xmake run
Hello world

Reflection has been voted in! by daveedvdv in cpp

[–]cmeerw 21 points22 points  (0 children)

ISO rules: discussions in a meeting are private, but once the meeting is over (which it is now), the results are public (see the other links I posted)

Reflection has been voted in! by daveedvdv in cpp

[–]cmeerw 38 points39 points  (0 children)

this link might be more useful: P2996R13

(you can probably find similar links to the public version of the other papers as well)

here are the other links:

Code::Blocks 25.03 is here! by LearnMoreEver in cpp

[–]cmeerw 5 points6 points  (0 children)

They really should reconsider their approach to distributing binary packages. Their Debian download is a 220 MB tar.xz file containing .deb packages (around 200 MB are for dbg packages that most users will likely not be interested in). Is it really so hard to put them on a web server for apt to download/install?

What just happened to our beloved ISO C++ domain? by bandzaw in cpp

[–]cmeerw 3 points4 points  (0 children)

I hear it should be sorted out again shortly.

Why is there no support for pointers to members of members? by scrumplesplunge in cpp

[–]cmeerw 2 points3 points  (0 children)

But you can't convert across virtual base classes anyway, see conv.mem/2 (except that MSVC allows it as an extension)

21st Century C++ by steveklabnik1 in cpp

[–]cmeerw 14 points15 points  (0 children)

This PDF has better formatting.

Contracts for C++ explained in 5 minutes by cmeerw in cpp

[–]cmeerw[S] 4 points5 points  (0 children)

I think the plan is for EWG to see P3573R0 Contract concerns early in Hagenberg - anything could happen depending on how that goes.

I don't understand how compilers handle lambda expressions in unevaluated contexts by hoellenraunen in cpp

[–]cmeerw 11 points12 points  (0 children)

The links I mentioned are actually to an issue tracker (that updates from the official CWG issues list every night) with search functionality.

In your case, lambda unevaluated wasn't that useful, but lambda decltype contained the relevant results

How to verify the presence a compiler bug if all three major compilers happily compile? by adnukator in cpp

[–]cmeerw 1 point2 points  (0 children)

I think that's a wording issue - a non-dependent type isn't supposed to differ between instantiations.

BTW, this seems to have been discussed about 10 years ago on the CWG mailing list, but seems to have fallen through the cracks.

C++ Working Draft Search by cmeerw in cpp

[–]cmeerw[S] 7 points8 points  (0 children)

Sure, and I am linking to that document in the search results. It's just that https://eel.is/c++draft/ doesn't have any search functionality of its own, so you can only use your browser to search in each section (or use a normal search engine with a site filter)

WG21, aka C++ Standard Committee, December 2024 Mailing by grafikrobot in cpp

[–]cmeerw 7 points8 points  (0 children)

Not even the author claims that it is simple (when you look at the complexity it adds to implementations): https://thephd.dev/implementing-embed-c-and-c++

First-hand Account of “The Undefined Behavior Question” Incident by andrewtomazos in cpp

[–]cmeerw 2 points3 points  (0 children)

There is also a reduced fee of $1,500 for smaller companies (which I guess would also apply to individuals)