Boost logo

Boost :

Subject: Re: [boost] [GSoC] [Boost.Hana] Formal review request
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2014-09-21 14:12:55


Le 21/09/14 16:40, Vicente J. Botet Escriba a écrit :
> Le 30/07/14 05:47, Edward Diener a écrit :
>> On 7/29/2014 9:38 PM, Louis Dionne wrote:
>>> Edward Diener <eldiener <at> tropicsoft.com> writes:
>>>
>>>>
>>>> [...]
>>>>
>>>> Please consider also that you are using terminology in the present
>>>> documentation which does not relate to C++ very well, although it may
>>>> relate to Haskell for all I know. If you rework the documentation
>>>> please
>>>> use C++ terminology for things. As an example you referred to
>>>> Type<T> as
>>>> an object when in C++ it is a class.
>>>
>>> I am confused; `Type<T>` does not exist in Hana, so I doubt I
>>> mention it
>>> anywhere unless I made an error. There's `type<T>`, which is a variable
>>> template, and `Type`, which is a C++ struct.
>>
>> Yes it is 'type<t>' and not 'Type<t>'. But...
>>
>> "First, type is a variable template, and type<T> is an object
>> representing the C++ type T."
>>
>> The syntax 'type<T>' normally means a class in C++.
> type<int> is a class that represents the type int. I find the name
> type<T> is appropriated.
>
>
My bad, it seems that type<int> is a variable representing the type int.

Vicente


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