![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
BOOST_PP_ARRAY_POP_BACKBoost , ,
The BOOST_PP_ARRAY_POP_BACK macro pops an element from the end of an array.
Usage
BOOST_PP_ARRAY_POP_BACK(array)
Arguments
Remarks
This macro returns array after removing the last element.
If array has no elements, the result of applying this macro is undefined.
This macro uses BOOST_PP_REPEAT internally.
Therefore, to use the z parameter passed from other macros that use
BOOST_PP_REPEAT, see BOOST_PP_ARRAY_POP_BACK_Z
See AlsoRequirementsSample Code#include <boost/preprocessor/array/pop_back.hpp> #define ARRAY (3, (a, b, c)) BOOST_PP_ARRAY_POP_BACK(ARRAY) // expands to (2, (a, b))
© Copyright Housemarque Oy 2002
© Copyright Paul Mensonides 2002
Распространяется в соответствии с лицензией Boost Software License, Version 1.0. (См. сопроводительный файл)LICENSE_1_0.txtили копия наwww.boost.org/LICENSE_1_0.txt Статья BOOST_PP_ARRAY_POP_BACK раздела может быть полезна для разработчиков на c++ и boost. Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта. :: Главная :: ::
|
||||
©KANSoftWare (разработка программного обеспечения, создание программ, создание интерактивных сайтов), 2007 |