Eric Niebler
banner
ericniebler.com
Eric Niebler
@ericniebler.com
C++ core compute libraries tech lead at @nvidia, husband, father, @isocpp member, former nomad, and sometimes artist wannabe.

opinions are my own

he/him
Also
November 2, 2025 at 10:58 PM
November 2, 2025 at 5:42 PM
October 31, 2025 at 7:55 PM
October 23, 2025 at 1:49 AM
October 21, 2025 at 11:47 PM
I've started using digit separators when checking the value of __cplusplus and feature test macros, and i am liking it. 2019'02 is less work for my old brain.
August 29, 2025 at 4:33 PM
April 7, 2025 at 12:50 AM
Seattle is upping its crime game. 🫠
March 28, 2025 at 3:02 PM
March 19, 2025 at 3:15 PM
Have a happy C++!
March 8, 2025 at 1:18 AM
Boy that sends me back
March 6, 2025 at 11:52 PM
C++ wizards: this one has me stumped. I can initialize an immovable sub-object if it is a member but not if it is a base class. Why?

godbolt.org/z/P7jxr5joK

#c++ #cpp
February 24, 2025 at 5:39 PM
I miss ThinkGeek. Where do I go to buy desktop refrigerators and TaunTaun sleeping bags now?
February 16, 2025 at 12:55 AM
Worried about the price of eggs? Get some hens. 🐔 Srsly.
February 7, 2025 at 4:31 PM
Seattle's master criminals have struck again
February 3, 2025 at 4:17 PM
Use [[no_unique_address]] to determine if a set of types are unique in O(N).

godbolt.org/z/dTcGhqseo
February 2, 2025 at 12:54 AM
I'm embarrassingly excited about what constexpr exceptions can do to improve the compile-time diagnostics of Senders.
January 10, 2025 at 6:06 PM
Huh
January 7, 2025 at 10:48 PM
is there any way at all to suppress this warning on gcc-10?

godbolt.org/z/c1Tsd4Pvs

and if you are about to reply "why are you writing code like that?" just stop right there. i have reasons.
December 19, 2024 at 10:04 PM
Go to Seattle. Do crimes.
December 4, 2024 at 8:10 PM
Just when you think you understand C++ templates...

I'm a little surprised that I can't SFINAE on the evil "pack expansion into non-pack parameter" error. Is there a way to change the implementation of `call` or `callable` to get the following code to compile?

godbolt.org/z/Pj9G11sr3
November 30, 2024 at 9:34 PM
Windows dev #1:

#define interface struct

Windows dev #2:
November 23, 2024 at 9:44 PM
I'll see you and raise
November 22, 2024 at 12:59 AM
When I started programming, PC gaming looked like this.
November 15, 2024 at 5:41 AM
i hadn't quite realized that, within a class template, nested types are not instantiated until they are actually used.

in other words, the following actually compiles.
November 13, 2024 at 1:56 AM