![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
BOOST_PP_DEDUCE_RBoost , ,
The BOOST_PP_DEDUCE_R macro manually deduces the state of the BOOST_PP_FOR construct.
Usage
BOOST_PP_DEDUCE_R()
Remarks
This macro is intended to avoid the use of automatic-recursion at deep expansion depths.
Automatic-recursion at such depths can be inefficient on some preprocessors.
It is not intended to be used directly with the invocation of macros with a _R suffix such as:
BOOST_PP_LIST_ENUM_R(BOOST_PP_DEDUCE_R(), (a, (b, (c, BOOST_PP_NIL))))
If it is used in this context, the _R macro will fail.
The _R macros directly concatenate to the r parameter that is passed to them,
which would prevent BOOST_PP_DEDUCE_R() from expanding.
Furthermore, it is pointless to use this macro in a situation such as this
because it would already be too late to gain any efficiency.
See AlsoRequirements
© Copyright Housemarque Oy 2002
© Copyright Paul Mensonides 2002
Распространяется в соответствии с Лицензией на программное обеспечение Boost версии 1.0. (См. сопроводительный файл LICENSE_1_0.txt или копию по адресу www.boost.org/LICENSE_1_0.txt) Статья BOOST_PP_DEDUCE_R раздела может быть полезна для разработчиков на c++ и boost. Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта. :: Главная :: ::
|
||||
©KANSoftWare (разработка программного обеспечения, создание программ, создание интерактивных сайтов), 2007 |