Basically, I would like to make the boolean test variable also a template paramter. The boolean type that is. The reason for this is that I would like for my Assert function to return the condition so it can be used as parameter for another function.
Example:
Assert<0>(SomeObj.GetHammerPtr(), "Data Pointer was invalid")->UseHammer;
This way, I don't have to retrieve the the hammer pointer twice. Or is it just as fast to send the point to a temporary variable?
Thanks!
Dwiel