Should there be a standard C++ pattern for this? transform_to February 28, 2020 Feb 28, 2020 02/28/20 Raymond Chen Or maybe you should expect to write it out the slow way.
How to save a lot of money on cable car tickets in San Francisco February 27, 2020 Feb 27, 2020 02/27/20 Raymond Chen Go downstairs and buy it from the machine.
How can I configure my Windows NT service to autostart when the system gains Internet access? February 27, 2020 Feb 27, 2020 02/27/20 Raymond Chen You can ask to be started when the system gets an IP address.
What’s up with the CF_SYLK and CF_DIF clipboard formats? February 26, 2020 Feb 26, 2020 02/26/20 Raymond Chen From a galaxy far, far away.
The custom-made computers powered by pepperoni pizza February 25, 2020 Feb 25, 2020 02/25/20 Raymond Chen Once more for old time's sake.
The 2020/2021 Seattle Symphony subscription season at a glance February 24, 2020 Feb 24, 2020 02/24/20 Raymond Chen The pocket reference guide for 2020/2021.
Why are there trivial functions like CopyRect and EqualRect? February 24, 2020 Feb 24, 2020 02/24/20 Raymond Chen You could call them to save a dozen bytes!
Why you might need additional control over the secret event hiding inside the file object February 21, 2020 Feb 21, 2020 02/21/20 Raymond Chen Sometimes every little bit of contention means a lot.
If you’re not keeping the parameter, then you still want to have separate T const& and T&& overloads February 20, 2020 Feb 20, 2020 02/20/20 Raymond Chen Forwarding it onward.
If you plan on keeping the parameter anyway, then there’s no need to have separate T const& and T&& overloads February 19, 2020 Feb 19, 2020 02/19/20 Raymond Chen You can just take it by value and move it out.