Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualServant of the Lord

Posted 17 February 2014 - 01:00 AM

This looks like a job for pointer to members:

 

blink.png

 

Well, that makes it a whole lot easier. Thank you! I've never used pointer-to-member before.

I couldn't think of any way to make it template only - I briefly considered using a byte 'stride'-type function, casting to char*, but other than that horrible idea I was drawing a blank.


#1Servant of the Lord

Posted 17 February 2014 - 12:52 AM

This looks like a job for pointer to members:

 

blink.png

 

Well, that makes it a whole lot easier. Thank you!

I couldn't think of any way to make it template only - I briefly considered using a byte 'stride'-type function, casting to char*, but other than that horrible idea I was drawing a blank.


PARTNERS