Boost logo

Boost :

Subject: Re: [boost] [Fit] Review
From: Peter Dimov (lists_at_[hidden])
Date: 2016-03-11 04:52:52


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.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk