![]() |
![]() ![]() ![]() ![]() |
![]() |
filter_viewBoost , Chapter 1. Fusion 2.2 , View
|
|||||||||||||||||||||||
|
Параметр |
Описание |
По умолчанию |
|---|---|---|
|
|
||
|
|
Unary Metafunction returning an |
Секвенция реализует модель Ассоциативная последовательность.Семантика выражения определяется только там, где она отличается от реализованных моделей или не определена.
|
Выражение |
Семантика |
|---|---|
|
Creates a |
|
|
Copy constructs a |
|
Assigns to a |
using boost::mpl::_;
using boost::mpl::not_;
using boost::is_class;
typedef vector<std::string, char, long, bool, double> vector_type;
vector_type v("a-string", '@', 987654, true, 6.6);
filter_view<vector_type const, not_<is_class<_> > > view(v);
std::cout << view << std::endl;
Статья filter_view раздела Chapter 1. Fusion 2.2 View может быть полезна для разработчиков на c++ и boost.
реклама |