![]() |
Home | Libraries | People | FAQ | More |
Create a deque
from one or more values.
template <typename ...Elements>
typename result_of::make_deque<Elements...>::type
make_deque(Elements const&... elements);
For C++11 compilers, the variadic function interface has no upper bound.
For C++11 compilers, the variadic function accepts 0
to FUSION_MAX_DEQUE_SIZE
elements, where FUSION_MAX_DEQUE_SIZE
is a user definable predefined maximum that defaults to 10. You may define the preprocessor constant
FUSION_MAX_DEQUE_SIZE
before including any Fusion header to change the default. Example:
#define FUSION_MAX_DEQUE_SIZE 20
|
Parameter |
Description |
Description |
|---|---|---|
|
|
Instances of |
The arguments to |
make_deque(elements...);
Return type: result_of::make_deque<Elements...>::type
Semantics: Create a deque from elements....
#include <boost/fusion/container/generation/make_deque.hpp> #include <boost/fusion/include/make_deque.hpp>
make_deque(123, "hello", 12.5)