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

BOOST_PP_ARRAY_POP_BACK

Boost , ,

The BOOST_PP_ARRAY_POP_BACK macro pops an element from the end of an array.

Usage

BOOST_PP_ARRAY_POP_BACK(array)

Arguments

array
The array to pop an element from.

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 Also

Requirements

Header:  <boost/preprocessor/array/pop_back.hpp>

Sample 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
Top.Mail.Ru

Время компиляции файла: 2024-08-30 11:47:00
2025-05-22 15:39:57/0.0027410984039307/0