Opened 11 years ago

Closed 9 years ago

#6457 closed Feature Requests (wontfix)

Increasing preprocessed limits

Reported by: dev@… Owned by: Joel de Guzman
Milestone: To Be Determined Component: fusion
Version: Boost 1.48.0 Severity: Problem
Keywords: Cc:

Description

Hi

I want to use a map container with 64 entries currently (and possible bigger in future). Unfortunately there is a preprocessed limit for FUSION_MAX_MAP_SIZE of 50 entries.

Could you please consider updating this limit to bigger value?

Or as better alternative I think it would be great to take an advantage of C++11 variadic templates. I noticed that raising limits by 10 roughly doubles preprocessed file size, so raising limits to 100 can produce huge amount of code. So variadic templates can save a considerable amount of space.

Change History (1)

comment:1 by Joel de Guzman, 9 years ago

Resolution: wontfix
Status: newclosed

Fusion vector are struct based and cannot make use of C++11 variadics. You might want to use fusion list instead which has a c++ variadic implementation. I'm closing this one.

Note: See TracTickets for help on using tickets.