Карта сайта Kansoftware
НОВОСТИУСЛУГИРЕШЕНИЯКОНТАКТЫ
Разработка программного обеспечения

BOOST_PP_CAT

Boost , ,

The BOOST_PP_CAT macro concatenates its arguments after they have been expanded.

Usage

BOOST_PP_CAT(a, b)

Arguments

a
The left operand of the concatenation.
b
The right operand of the concatenation.

Remarks

The preprocessor token-pasting operator (##) prevents arguments from expanding.  This macro allows its arguments to expand before concatenation.
Concatenation must not result in an invocation of a macro that uses BOOST_PP_CAT.  If that happens, BOOST_PP_CAT will not expand the second time.

Requirements

Header:  <boost/preprocessor/cat.hpp>

Sample Code

#include <boost/preprocessor/cat.hpp>
BOOST_PP_CAT(x, BOOST_PP_CAT(y, z)) // expands to xyz

© Copyright Housemarque Oy 2002
© Copyright Paul Mensonides 2002

Распространяется в соответствии с Лицензией на программное обеспечение Boost версии 1.0. (См. сопроводительный файл LICENSE_1_0.txt или копию по адресу www.boost.org/LICENSE_1_0.txt)

Статья BOOST_PP_CAT раздела может быть полезна для разработчиков на c++ и boost.




Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта.



:: Главная :: ::


реклама


©KANSoftWare (разработка программного обеспечения, создание программ, создание интерактивных сайтов), 2007
Top.Mail.Ru

Время компиляции файла: 2024-08-30 11:47:00
2025-05-21 19:53:49/0.0026988983154297/0