11 Mar
2016
11 Mar
'16
9:52 a.m.
Edward Diener wrote:
I don't understand this. I have a 'make_tuple' callable above and if I want to use it somewhere else I pass it to whatever functionality needs it. You, instead want things to be global so that they can be used by other functionality without passing anything around. Isn't this just an argument about programming style ?
No. Your assignment is to define a make_tuple function in a header, say "make_tuple.hpp", so that other people can use it. This is supposedly a part from a library that allows the user to manipulate tuples. I don't understand your confusion and your reference to programming styles.