![]() |
Home | Libraries | People | FAQ | More |
Returns the result type of make_cons
.
template <typename Car, typename Cdr = nil> struct make_cons;
Parameter | Requirement | Description |
---|---|---|
Car |
Any type | The list's head type |
Cdr |
A
cons
|
The list's tail type (optional) |
result_of::make_cons<Car, Cdr>::type
Return type: A cons
with head element, Car
, of type converted following the
rules for element
conversion, and tail, Cdr
.
Semantics: Create a cons
from Car
(head) and optional Cdr
(tail).
#include <boost/fusion/sequence/generation/make_cons.hpp>
result_of::make_cons<char, result_of::make_cons<int>::type>::type
Copyright © 2001-2005 Joel de Guzman, Dan Marsden |