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

BOOST_PP_LIMIT_REPEAT

Boost , ,

The BOOST_PP_LIMIT_REPEAT macro defines the maximum number of repetitions supported by each BOOST_PP_REPEAT dimension.

Usage

BOOST_PP_LIMIT_REPEAT

Remarks

This macro current expands to 256.

NOTE: for the current latest versions of Microsoft's VC++ compiler there is a nested macro limit of 256. This means in actuality that the number of repetitions using VC++ is actually less than 256 depending on the repetition macro being used. For the BOOST_PP_REPEAT macro this limit appears to be 252 while for the BOOST_PP_ENUM... series of macros this limit appears to be around 230, before the VC++ compiler gives a "C1009: compiler limit : macros nested too deeply" error. This is a compiler limitation of VC++ which may vary depending on the specific repetition macro being used, and therefore is not a problem the preprocessor library can solve.

Requirements

Header:  <boost/preprocessor/config/limits.hpp>

© Copyright Housemarque Oy 2002
© Copyright Paul Mensonides 2002

Distributed under the Boost Software License, Version 1.0. (См. сопроводительный файл LICENSE_1_0.txt или копия на www.boost.org/LICENSE_1_0.txt)

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




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



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


реклама


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

Время компиляции файла: 2024-08-30 11:47:00
2025-07-05 08:55:41/0.0053567886352539/0