|
Boost : |
From: Daryle Walker (dwalker07_at_[hidden])
Date: 2002-10-24 02:50:44
On Wednesday, October 23, 2002, at 11:03 AM, Martin Wille wrote:
> Joel de Guzman wrote:
>
>> ----- Original Message -----
>> From: "Daryle Walker" <dwalker07_at_[hidden]>
>>
>>> On Tuesday, October 15, 2002, at 12:49 AM, Joel de Guzman wrote:
>>>
>
> [regarding a macro for the typename keyword in certain cases]
>
>>> [TRUNCATE]
>>>
>>> I think that there is a Boost.Config macro that does the same thing.
>>> Could you just use that?
>>
>>
>> Sorry, this message got lost somehow.
>> Where is it? What is it?
>
> By grepping through the code I found several occurrences of
> such a macro in the Boost libraries:
>
> mpl/aux_/config/msvc_typename.hpp: BOOST_MSVC_TYPENAME
> iterator_adaptors.hpp: BOOST_ARG_DEPENDENT_TYPENAME
> numeric/ublas/config.hpp: BOOST_UBLAS_TYPENAME
> multi_array/iterator_adaptors.hpp: BOOST_ARG_DEPENDENT_TYPENAME
>
> All of them are local to the respective library.
I was misremembering, sorry. I looked through the Boost docs and found
"BOOST_NESTED_TEMPLATE," which does something similar for "template."
Maybe we should add one for "typename"?
Daryle
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk