@Dexter: The code in my post was just an example of compiler optimization. How a good template class should work.
Both your code and Burkholder's code have a big overhead.
Is there a way to minimize the overhead like in my example ?
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
@Dexter: The code in my post was just an example of compiler optimization. How a good template class should work.
Both your code and Burkholder's code have a big overhead.
Is there a way to minimize the overhead like in my example ?