![]() |
Home | Libraries | People | FAQ | More |
single_view is a view into
a value as a single element sequence.
#include <boost/fusion/sequence/view/single_view.hpp>
template <typename T> struct single_view;
|
Parameter |
Description |
Default |
|---|---|---|
|
|
Any type |
|
Notation
Ssingle_view type
s,
s2single_view
xT
Semantics of an expression is defined only where it differs from, or is not defined in Forward Sequence.
|
Expression |
Semantics |
|---|---|
|
|
Creates a |
|
|
Copy constructs a |
|
|
Assigns to a |
single_view<int> view(3); std::cout << view << std::endl;
| Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias Schwinger |