You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WRT the above comment and finding other variables in main or wherever to put in a class, those can be done as I notice them. No need to go searching.
WRT the OP, seems only const values work (search "Constant static members").
Thus GraphListEntry::num must stay as-is, right?
All items specifically mentioned are addressed, or no-build. Only other thing that matches the OP might be...
DBFieldlength would be perfect for this. Could do away with the .cpp file entirely. Variables would probably be constexpr (links: demystifying / when to use)?
To that end, if the HGEdge consts were constexpr, would it compile differently?
Activity
yakra commentedon Apr 5, 2020
Argumentscan be cleaned upyakra commentedon May 2, 2020
Apparently I can only do this with integral types? OK...
HGEdgeformat constantsWaypoint::pi#defined insteadArgumentshas enough non-integral types (strings) that the cleanest solution is to leave as-is.yakra commentedon May 3, 2020
region_hasha static member ofregionyakra commentedon Mar 20, 2022
WRT the above comment and finding other variables in main or wherever to put in a class, those can be done as I notice them. No need to go searching.
WRT the OP, seems only const values work (search "Constant static members").
GraphListEntry::nummust stay as-is, right?All items specifically mentioned are addressed, or no-build. Only other thing that matches the OP might be...
DBFieldlengthwould be perfect for this. Could do away with the .cpp file entirely. Variables would probably be constexpr (links: demystifying / when to use)?HGEdgeconsts were constexpr, would it compile differently?