Click here to Skip to main content
15,886,833 members

Comments by steveb (Top 30 by date)

steveb 1hr 20mins ago View    
Direcr2D has all the drawing code of the GDI
steveb 21-Sep-23 20:02pm View    
Did you rebuilt the executable?
steveb 12-Oct-22 11:25am View    
Deleted
You can also use the std::any as a parameter (probably c++20 also but boost library have it) and declare it as void printValues(std::any val1, std::any val2);
But I think the resulting exe image will be slightly bigger than with auto keyword
steveb 12-Oct-22 9:49am View    
There also new type std::any (from boost now made it into the STL). It is also feasible to declare that function as void printValues(std::any val1, std::any val2). But I think the resulting assembly will be much bigger if you care about the exe size
steveb 11-Oct-22 8:52am View    
Ooops. I think I built that in VS 2022 with the C++20 standard enabled. The coolest feature ever I must admit