View Single Post
Old 10 October 2021, 17:25   #12
Jobbo
Registered User
 
Jobbo's Avatar
 
Join Date: Jun 2020
Location: Druidia
Posts: 389
Deimos
Your code looks perfectly reasonable as a use of templates and classes to generalize the code and give it a nicer interface than straight C.
There’s really no other magic C++ or the standard libraries have that you’re missing out on.
Most games are written in C with some C++ features and almost never using the standard libraries.
Tools can blur the line and use the standard libraries where tightly controlling performance and resources are less important.
You’ll hear a lot of dogma about how you are supposed to use C++ but you can safely ignore all that and just use what features are actually helpful as you already have!
Jobbo is offline  
 
Page generated in 0.04377 seconds with 11 queries